diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2014-10-21 00:35:40 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2014-10-21 00:35:40 +0200 |
commit | 56ab75d6ee08ca3a83eac113b1459d0348a271cd (patch) | |
tree | a7fe5e03a2ca360c2e1e4af6e690d2d6e4bd4fcb /ishtar_common/templates/ishtar/dashboards | |
parent | f87fd09770ab0738855a5efbaff905a7c9f346ac (diff) | |
download | Ishtar-56ab75d6ee08ca3a83eac113b1459d0348a271cd.tar.bz2 Ishtar-56ab75d6ee08ca3a83eac113b1459d0348a271cd.zip |
Dashboard: work on graphs for operations (refs #2076)
* add a new creation date field for operations
* refactoring of management of dashboard forms
* dashboard form for operations
Diffstat (limited to 'ishtar_common/templates/ishtar/dashboards')
-rw-r--r-- | ishtar_common/templates/ishtar/dashboards/dashboard_main_detail.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ishtar_common/templates/ishtar/dashboards/dashboard_main_detail.html b/ishtar_common/templates/ishtar/dashboards/dashboard_main_detail.html index 820c50136..87ce5c528 100644 --- a/ishtar_common/templates/ishtar/dashboards/dashboard_main_detail.html +++ b/ishtar_common/templates/ishtar/dashboards/dashboard_main_detail.html @@ -141,7 +141,7 @@ var plot_{{unique_id}} = $.jqplot('chart_{{unique_id}}', sizeAdjust: 7.5 }, series:[{% for label in dashboard.serie_labels %} - {%if forloop.counter0%}, {% endif %}{label:"{{label}}"}{% endfor %} + {%if forloop.counter0%}, {% endif %}{label:"{{label}}", showmarker:showmarker}{% endfor %} ], cursor:{ show: true, @@ -172,9 +172,9 @@ $('#search_{{unique_id}}').click(function (){ return false; }); -{% ifequal item_name 'files' %} -load_jquerydate_after(); -load_jquerydate_before(); -{% endifequal %} +{% if item_name == 'files' or item_name == "operations"%} +load_jquerydate_{{item_name}}_after(); +load_jquerydate_{{item_name}}_before(); +{% endif %} }); </script> |