diff options
Diffstat (limited to 'view')
-rw-r--r-- | view/tpl/wiki_page_list.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/wiki_page_list.tpl b/view/tpl/wiki_page_list.tpl index a270e6cee..78657ec10 100644 --- a/view/tpl/wiki_page_list.tpl +++ b/view/tpl/wiki_page_list.tpl @@ -5,7 +5,7 @@ {{if $pages}} {{foreach $pages as $page}} <li id="{{$page.link_id}}"> - {{if $page.resource_id && $canadd}} + {{if $page.resource_id && $candel}} <i class="widget-nav-pills-icons fa fa-trash-o drop-icons" onclick="wiki_delete_page('{{$page.title}}', '{{$page.url}}', '{{$page.resource_id}}', '{{$page.link_id}}')"></i> {{/if}} <a href="/wiki/{{$channel}}/{{$wikiname}}/{{$page.url}}">{{$page.title}}</a> |