`,
- valueNames: ["creation_date", "description", "title",
+ // Corpus Value Names per column. Have to correspond with the keys from the
+ // Mapping step above.
+ valueNames: ["creation_date",
+ "description",
+ "title",
{data: ["id"]},
{name: "analyse-link", attr: "href"},
{name: "edit-link", attr: "href"},
- {name: "status", attr: "data-status"}]},
+ {name: "status", attr: "data-status"}]
+ },
+ // Job entity blueprint setting html strucuture per entity per row
+ // Link classes have to correspond with Links defined in the Mapping process
job: {item: `
`,
+ valueNames: ["filename",
+ "id",
+ {name: "download-link", attr: "href"}]
+ },
+ // Result (imported from corpus analysis) entity blueprint setting html
+ // strucuture per entity per row
+ // Link classes have to correspond with Links defined in the Mapping process
result: {item: `
@@ -179,6 +226,8 @@ RessourceList.options = {
`,
+ // Result Value Names per column. Have to correspond with keys from the
+ // Mapping step above.
valueNames: ["query",
"match_count",
"corpus_name",
@@ -187,7 +236,10 @@ RessourceList.options = {
"corpus_type",
{name: "details-link", attr: "href"},
{name: "inspect-link", attr: "href"},
- {name: "delete-modal", attr: "data-target"}]},
+ {name: "delete-modal", attr: "data-target"}]
+ },
+ // User entity blueprint setting html strucuture per entity per row
+ // Link classes have to correspond with Links defined in the Mapping process
user: {item: `
@@ -199,12 +251,15 @@ RessourceList.options = {
`,
+ // User Value Names per column. Have to correspond with keys from the
+ // Mapping step above.
valueNames: ["username",
"email",
"role_id",
"confirmed",
"id",
- {name: "profile-link", attr: "href"}]}
+ {name: "profile-link", attr: "href"}]
+ }
};
diff --git a/web/app/templates/jobs/job.html.j2 b/web/app/templates/jobs/job.html.j2
index bc146caa..b264cb52 100644
--- a/web/app/templates/jobs/job.html.j2
+++ b/web/app/templates/jobs/job.html.j2
@@ -86,9 +86,18 @@