summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/templates
diff options
context:
space:
mode:
authorSimon Rettberg2020-04-21 18:16:36 +0200
committerSimon Rettberg2020-04-21 18:16:36 +0200
commitd6bbb4d57a086dfaf5f0a1ebf8913577568ae887 (patch)
tree95f7c80a38bfb02b1dd5c1c796e9d333d26d0ff5 /modules-available/statistics/templates
parent[statistics] New filter UI (diff)
downloadslx-admin-d6bbb4d57a086dfaf5f0a1ebf8913577568ae887.tar.gz
slx-admin-d6bbb4d57a086dfaf5f0a1ebf8913577568ae887.tar.xz
slx-admin-d6bbb4d57a086dfaf5f0a1ebf8913577568ae887.zip
[statistics] Refactor filter creation (Part 1)
Filter classes are now instances of their respective classes, to move more logic into those classes. A bind method is used for assigning actual operator and argument values. renderFilterBox() is still a little too messy, maybe a clever class for mapping a (bound) filter to data for mustache will come in handy here.
Diffstat (limited to 'modules-available/statistics/templates')
-rw-r--r--modules-available/statistics/templates/filterbox.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/statistics/templates/filterbox.html b/modules-available/statistics/templates/filterbox.html
index 34f4d3a6..e7c1cd9b 100644
--- a/modules-available/statistics/templates/filterbox.html
+++ b/modules-available/statistics/templates/filterbox.html
@@ -7,7 +7,7 @@
<input type="hidden" name="do" value="statistics">
<div class="btn-group pull-right">
<button type="submit" hidden><!-- first button, so hitting enter in the form fields doesn't jump to summary -->
- <button class="btn btn-default {{statButtonClass}}" type="submit" name="show" value="summary"
+ <button class="btn btn-default {{summaryButtonClass}}" type="submit" name="show" value="summary"
{{perms.view.summary.disabled}}>
<span class="glyphicon glyphicon-stats"></span>
{{lang_showVisualization}}