Navigation Menu

Skip to content

Commit

Permalink
EZP-27819: Template exception when editing policies with no node and …
Browse files Browse the repository at this point in the history
…subtree limitation (ezsystems#152)
  • Loading branch information
glye committed Aug 31, 2017
1 parent 45f31a4 commit f37e328
Showing 1 changed file with 5 additions and 3 deletions.
Expand Up @@ -10,9 +10,11 @@
<div>
<ul id="{{form.limitationValues.vars.id}}-selected-location">
{% for limitationValue in form.limitationValues.vars.value|split(',') %}
<li>
{{ render( controller( "ez_content:viewAction", {'locationId': limitationValue, 'viewType': '_platformui_content_name'} ) ) }}
</li>
{% if limitationValue is not empty %}
<li>
{{ render( controller( "ez_content:viewAction", {'locationId': limitationValue, 'viewType': '_platformui_content_name'} ) ) }}
</li>
{% endif %}
{% endfor %}
</ul>
</div>

0 comments on commit f37e328

Please sign in to comment.