diff options
author | zotlabs <mike@macgirvin.com> | 2016-10-23 07:28:38 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-23 07:28:38 +1100 |
commit | 0b5d5507800b2e1122eb2432929c203538b2e835 (patch) | |
tree | 75cff355b5f79c127a287d8a6c56f5e447a67a00 /view/tpl/wikilist.tpl | |
parent | ac5ad0b9cecc0f4ec912e654ab0690e391170cd1 (diff) | |
parent | 02cf7274d28d093094067114d208537cf135266b (diff) | |
download | volse-hubzilla-0b5d5507800b2e1122eb2432929c203538b2e835.tar.gz volse-hubzilla-0b5d5507800b2e1122eb2432929c203538b2e835.tar.bz2 volse-hubzilla-0b5d5507800b2e1122eb2432929c203538b2e835.zip |
Merge pull request #565 from anaqreon/wiki-download
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.tpl | 1 |
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> |