aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2017-09-16 14:00:55 -0400
committerGitHub <noreply@github.com>2017-09-16 14:00:55 -0400
commit0b272264eada1d5cf71e4273d6d3b22337c4e5cc (patch)
tree5f6d3aaa2f0732fb35a6ed98f75a7b4b47d9ff9b /view/tpl
parentd5ffa5508d4c04be801d049b63ae6881460abe82 (diff)
downloadvolse-hubzilla-0b272264eada1d5cf71e4273d6d3b22337c4e5cc.tar.gz
volse-hubzilla-0b272264eada1d5cf71e4273d6d3b22337c4e5cc.tar.bz2
volse-hubzilla-0b272264eada1d5cf71e4273d6d3b22337c4e5cc.zip
Page title is what we need in order to delete pages, not the url
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/wiki_page_list.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/wiki_page_list.tpl b/view/tpl/wiki_page_list.tpl
index 3d38a0b81..cfaa50395 100644
--- a/view/tpl/wiki_page_list.tpl
+++ b/view/tpl/wiki_page_list.tpl
@@ -7,7 +7,7 @@
{{foreach $pages as $page}}
<li class="nav-item nav-item-hack" id="{{$page.link_id}}">
{{if $page.resource_id && $candel}}
- <i class="nav-link 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>
+ <i class="nav-link widget-nav-pills-icons fa fa-trash-o drop-icons" onclick="wiki_delete_page('{{$page.title}}', '{{$page.title}}', '{{$page.resource_id}}', '{{$page.link_id}}')"></i>
{{/if}}
<a class="nav-link" href="/wiki/{{$channel_address}}/{{$wikiname}}/{{$page.url}}">{{$page.title}}</a>
</li>