diff options
Diffstat (limited to 'view/tpl/wikilist.tpl')
-rw-r--r-- | view/tpl/wikilist.tpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/view/tpl/wikilist.tpl b/view/tpl/wikilist.tpl index d1652dcf4..91ac1a7b3 100644 --- a/view/tpl/wikilist.tpl +++ b/view/tpl/wikilist.tpl @@ -8,8 +8,10 @@ </a> <ul class="dropdown-menu pull-right"> <li><a href="/wiki/{{$channel}}/{{$wiki.title}}/Home.md" title="View {{$wiki.title}}">View</a></li> + {{if $showControls}} <li class="divider"></li> <li><a href="#" onclick="wiki_delete_wiki('{{$wiki.title}}','{{$wiki.resource_id}}'); return false;" title="Delete {{$wiki.title}}">Delete wiki</a></li> + {{/if}} </ul> </li> {{/foreach}} |