File tree Expand file tree Collapse file tree 3 files changed +12
-9
lines changed
share/roundup/templates/jinja2/html Expand file tree Collapse file tree 3 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -460,6 +460,9 @@ Fixed:
460460- query.item.html was missing checks to verify that a query should
461461 be visible to the user. This is fixed and users can only view
462462 queries that they own or that are not private. (John Rouillard)
463+ - issue2550953: Patch: fix for context.is_view_ok check in jinja2 template
464+ Form controls are displayed when anonymous views indexes but is
465+ denied access. (patch by Anton Schur applied by John Rouillard)
463466
4644672016-01-11: 1.5.1
465468
Original file line number Diff line number Diff line change 1212
1313 {% include 'layout/permission.html' %}
1414
15- {% if context.is_view_ok %}
15+ {% if context.is_view_ok() %}
1616 < p class ="form-help "> {{ i18n.gettext('
1717 You may edit the contents of the
1818 class using this form. Commas, newlines and double quotes (") must be
Original file line number Diff line number Diff line change 1212
1313 {% include 'layout/permission.html' %}
1414
15- {% if context.is_view_ok %}
15+ {% if context.is_view_ok() %}
1616 {% if context.list() %}
1717 < table class ='table '>
1818 < tr class ='info '>
4242 </ tr >
4343 {% endfor %}
4444 </ table >
45- {% else %}
46- < p class ='text-error '> {{ i18n.gettext('There are no issues yet!') }}</ p >
47- {% endif %}
48- {% endif %}
49-
50- {% include 'layout/pagination.html' %}
51-
45+ {% include 'layout/pagination.html' %}
5246 < div class ='row-fluid '>
5347 < div class ='pull-right '>
5448 < a class ='btn btn-success '
6054
6155 {% include 'layout/sort.html' %}
6256
57+ {% else %}
58+ < p class ='text-error '> {{ i18n.gettext('There are no issues yet!') }}</ p >
59+ {% endif %}
60+
61+ {% endif %}
62+
6363{% endblock %}
You can’t perform that action at this time.
0 commit comments