aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/wikilist.tpl
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-10-22 08:52:26 -0400
committerAndrew Manning <tamanning@zoho.com>2016-10-22 08:52:26 -0400
commit02cf7274d28d093094067114d208537cf135266b (patch)
tree22c4af9569da369d9e7a674a7b7721a67b4b1f87 /view/tpl/wikilist.tpl
parent6bf92979a2afe6769e572846e344ffaf3b0c7d85 (diff)
downloadvolse-hubzilla-02cf7274d28d093094067114d208537cf135266b.tar.gz
volse-hubzilla-02cf7274d28d093094067114d208537cf135266b.tar.bz2
volse-hubzilla-02cf7274d28d093094067114d208537cf135266b.zip
Add wiki download button to export the selected wiki repo to a zip file
Diffstat (limited to 'view/tpl/wikilist.tpl')
-rw-r--r--view/tpl/wikilist.tpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/view/tpl/wikilist.tpl b/view/tpl/wikilist.tpl
index be353ca5e..6b37be4c5 100644
--- a/view/tpl/wikilist.tpl
+++ b/view/tpl/wikilist.tpl
@@ -8,6 +8,7 @@
</a>
<ul class="dropdown-menu pull-right">
<li><a href="/wiki/{{$channel}}/{{$wiki.urlName}}/Home" title="View {{$wiki.title}}">View</a></li>
+ <li><a href="#" onclick="wiki_download_wiki('{{$wiki.resource_id}}'); return false;" title="Download {{$wiki.title}}">Download</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>