runner
char(20)
diff --git a/templates/web/admin/databox/databox.html.twig b/templates/web/admin/databox/databox.html.twig
index f8685fb33d..177493dc7f 100644
--- a/templates/web/admin/databox/databox.html.twig
+++ b/templates/web/admin/databox/databox.html.twig
@@ -50,6 +50,11 @@
({% trans 'phraseanet:: details'%})
+
+ {% trans 'admin::base: subdefs to be created :' %}
+
+
+
{% if showDetail %}
{% trans 'admin::base: nombre de mots uniques sur la base : ' %}
@@ -276,6 +281,13 @@
p = 100*data.thesaurus_indexed/data.records;
$("#thesaurus_indexed_bar").width(Math.round(2*p));
$("#thesaurus_indexed_percent").text((Math.round(p*100)/100)+" %");
+
+ var t = "";
+ for(var i in data.jeton_subdef)
+ {
+ t += (t==""?"":" ; ") + i + ": " + data.jeton_subdef[i];
+ }
+ $("#subdefs_todo").text(t);
}
if(data.printLogoURL)
diff --git a/templates/web/admin/tasks/list.html.twig b/templates/web/admin/tasks/list.html.twig
index abf6a08fdf..10e34aa8e4 100644
--- a/templates/web/admin/tasks/list.html.twig
+++ b/templates/web/admin/tasks/list.html.twig
@@ -70,14 +70,7 @@
 |
|
|
-
-
- |
+ |
{{ task.getTitle() }} [{{ task.getName() }}] |
{% endfor %}
@@ -202,15 +195,13 @@
$("#WARNING_"+id).hide();
}
- if(ret.tasks[id].completed && ret.tasks[id].completed>0 && ret.tasks[id].completed<=100)
+ if(ret.tasks[id].todo > 0)
{
- $("#COMP_"+id).width(ret.tasks[id].completed + "%");
- $("#COMPBOX_"+id).show();
+ $("#TODO_"+id).html(ret.tasks[id].todo);
}
else
{
- $("#COMPBOX_"+id).hide();
- $("#COMP_"+id).width('0px');
+ $("#TODO_"+id).html("-");
}
}
}