diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/basetable_bottom.html | 2 | ||||
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/basetable_top.html | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/basetable_bottom.html b/bitbake/lib/toaster/toastergui/templates/basetable_bottom.html index 8f81472723..abce7c24b7 100644 --- a/bitbake/lib/toaster/toastergui/templates/basetable_bottom.html +++ b/bitbake/lib/toaster/toastergui/templates/basetable_bottom.html | |||
@@ -76,7 +76,7 @@ | |||
76 | </script> | 76 | </script> |
77 | 77 | ||
78 | <!-- modal filter boxes --> | 78 | <!-- modal filter boxes --> |
79 | {% for tc in tablecols %}{% if tc.filter %}{% with f=tc.filter %} | 79 | {% for tc in tablecols %}{% if tc.filter %}{% with objectname=objectname f=tc.filter %} |
80 | {% include "filtersnippet.html" %} | 80 | {% include "filtersnippet.html" %} |
81 | {% endwith %}{% endif %} {% endfor %} | 81 | {% endwith %}{% endif %} {% endfor %} |
82 | <!-- end modals --> | 82 | <!-- end modals --> |
diff --git a/bitbake/lib/toaster/toastergui/templates/basetable_top.html b/bitbake/lib/toaster/toastergui/templates/basetable_top.html index b8d5c382c7..7b3017affb 100644 --- a/bitbake/lib/toaster/toastergui/templates/basetable_top.html +++ b/bitbake/lib/toaster/toastergui/templates/basetable_top.html | |||
@@ -75,9 +75,10 @@ | |||
75 | <tr> | 75 | <tr> |
76 | {% for tc in tablecols %}<th class="{{tc.dclass}} {{tc.clclass}}"> | 76 | {% for tc in tablecols %}<th class="{{tc.dclass}} {{tc.clclass}}"> |
77 | {%if tc.qhelp%}<i class="icon-question-sign get-help" data-toggle="tooltip" title="{{tc.qhelp}}"></i>{%endif%} | 77 | {%if tc.qhelp%}<i class="icon-question-sign get-help" data-toggle="tooltip" title="{{tc.qhelp}}"></i>{%endif%} |
78 | <a href="javascript:reload_params({'orderby' : '{{tc.orderfield}}' })" style="font-weight:normal;">{{tc.name}}</a> | 78 | {%if tc.orderfield%}<a {%if tc.ordericon%} class="sorted" {%endif%}href="javascript:reload_params({'orderby' : '{{tc.orderfield}}' })" >{{tc.name}}</a>{%else%}<span class="muted">{{tc.name}}</span>{%endif%} |
79 | {%if tc.ordericon%} <i class="icon-caret-{{tc.ordericon}}"></i>{%endif%} | ||
79 | {%if tc.filter%}<div class="btn-group pull-right"> | 80 | {%if tc.filter%}<div class="btn-group pull-right"> |
80 | <a href="#filter_{{tc.filter.class}}" role="button" class="btn btn-mini{%if request.GET.filter in tc.filter.options.values%} btn-primary{%endif%}" data-toggle="modal"> <i class="icon-filter filtered"></i> </a> | 81 | <a href="#filter_{{tc.filter.class}}" role="button" class="btn btn-mini {%if request.GET.filter%}{{tc.filter.options|filtered_icon:request.GET.filter}} {%endif%}" {%if request.GET.filter%} title="{{tc.filter.options|filtered_tooltip:request.GET.filter}}"{%endif%} data-toggle="modal"> <i class="icon-filter filtered"></i> </a> |
81 | </div>{%endif%} | 82 | </div>{%endif%} |
82 | </th>{% endfor %} | 83 | </th>{% endfor %} |
83 | </tr> | 84 | </tr> |