diff options
author | zotlabs <mike@macgirvin.com> | 2018-03-30 16:09:25 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-03-30 16:09:25 -0700 |
commit | af125fbe4f72b1f170ef6722d1bf9ca4beb3c7c5 (patch) | |
tree | a1c54e7cdab83bbb6e704bbf0dc043be3c072ea1 /view/tpl/wiki.tpl | |
parent | 43249bd4be8495dadaae859bf42f14a90af7b574 (diff) | |
download | volse-hubzilla-af125fbe4f72b1f170ef6722d1bf9ca4beb3c7c5.tar.gz volse-hubzilla-af125fbe4f72b1f170ef6722d1bf9ca4beb3c7c5.tar.bz2 volse-hubzilla-af125fbe4f72b1f170ef6722d1bf9ca4beb3c7c5.zip |
Hubzilla issue #1022 - provide a way to share wiki pages. Currently this is only implemented in the 'edit' pane and could use some improvement/enhancement
Diffstat (limited to 'view/tpl/wiki.tpl')
-rw-r--r-- | view/tpl/wiki.tpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/view/tpl/wiki.tpl b/view/tpl/wiki.tpl index 2be323deb..1a83179a3 100644 --- a/view/tpl/wiki.tpl +++ b/view/tpl/wiki.tpl @@ -11,6 +11,9 @@ {{if $renamePage}} <a class="dropdown-item rename-page" href="#"><i class="fa fa-fw fa-edit"></i> {{$renamePage}}</a> {{/if}} + {{if $sharePage}} + <a class="dropdown-item share-page" href="rpost?f=&body={{$shareLink}}"><i class="fa fa-fw fa-share"></i> {{$sharePage}}</a> + {{/if}} <a id="embed-image" class="dropdown-item" href="#"><i class="fa fa-fw fa-picture-o"></i> Embed Image</a> </div> </div> |