aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/wikilist.tpl
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-11-14 20:45:04 -0500
committerAndrew Manning <tamanning@zoho.com>2016-11-14 20:45:04 -0500
commitc3e3c32bdcdbcafef33f32118fe95da1fa4cd92e (patch)
tree384a52a1d16ceb2e52ed77d30834dfad2f7a250e /view/tpl/wikilist.tpl
parentf5ad1dfbc521223be5ca97f0b878d9267cffabb3 (diff)
downloadvolse-hubzilla-c3e3c32bdcdbcafef33f32118fe95da1fa4cd92e.tar.gz
volse-hubzilla-c3e3c32bdcdbcafef33f32118fe95da1fa4cd92e.tar.bz2
volse-hubzilla-c3e3c32bdcdbcafef33f32118fe95da1fa4cd92e.zip
Moved delete wiki button into new edit wiki form, opened by edit wiki icon in wiki list
Diffstat (limited to 'view/tpl/wikilist.tpl')
-rw-r--r--view/tpl/wikilist.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/wikilist.tpl b/view/tpl/wikilist.tpl
index c880142e2..42452eb12 100644
--- a/view/tpl/wikilist.tpl
+++ b/view/tpl/wikilist.tpl
@@ -8,7 +8,7 @@
{{foreach $wikis as $wiki}}
<div class="form-group" id="wiki-{{$wiki.resource_id}}">
<a href="/wiki/{{$channel}}/{{$wiki.urlName}}/Home" title="View {{$wiki.title}}"><b>{{$wiki.title}}</b></a>
- <i class="pull-right generic-icons fakelink fa fa-trash-o" onclick="wiki_delete_wiki('{{$wiki.title}}','{{$wiki.resource_id}}'); return false;" title="Delete {{$wiki.title}}"></i>
+ <i id="edit-wiki-button" class="pull-right generic-icons fakelink fa fa-edit" onclick="wiki_show_edit_wiki_form('{{$wiki.title}}', '{{$wiki.resource_id}}');" title="Edit {{$wiki.title}}"></i>
<i class="pull-right generic-icons fakelink fa fa-download" onclick="wiki_download_wiki('{{$wiki.resource_id}}'); return false;" title="Download {{$wiki.title}}"></i>
</div>
{{/foreach}}