don't show acl lin if it's not present

pull/2531/head^2
rabuzarus 2016-04-20 03:30:13 +02:00
rodzic 7600bf7d94
commit 9b0e625685
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -77,7 +77,7 @@
{{* mark the first list entry as active because it is the first which is active after opening
the modal. Changing of the activity status is done by js in jot.tpl-header *}}
<li class="active" role="menuitem"><a id="jot-text-lnk" onclick="jotActive(); return false;">Text</a></li>
<li role="menuitem"><a id="jot-perms-lnk" onclick="aclActive();return false;">Permissions</a></li>
{{if $acl}}<li role="menuitem"><a id="jot-perms-lnk" onclick="aclActive();return false;">Permissions</a></li>{{/if}}
<li role="menuitem"><a id="jot-preview-lnk" onclick="previewActive();return false;">{{$preview}}</a></li>
</ul>
</div>