]> git.mxchange.org Git - friendica.git/commitdiff
don't show acl lin if it's not present
authorrabuzarus <>
Wed, 20 Apr 2016 01:30:13 +0000 (03:30 +0200)
committerrabuzarus <>
Wed, 20 Apr 2016 01:30:13 +0000 (03:30 +0200)
templates/jot.tpl

index 3dec6dc86da248d8b39c62b6b381f575bb29639b..1396859a65b30d35f4465bc8dc912130f7b888de 100644 (file)
@@ -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>