aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/wiki.tpl
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-06-02 22:27:26 -0400
committerAndrew Manning <tamanning@zoho.com>2016-06-02 22:27:26 -0400
commitb70c6809648bb3c78e5e26f9293727b3a7aa4025 (patch)
treed62b402f57fd133951820759c4589b6d649e315a /view/tpl/wiki.tpl
parent8d284bab474c7e669ae9a639bdb22f7b28b95cc3 (diff)
downloadvolse-hubzilla-b70c6809648bb3c78e5e26f9293727b3a7aa4025.tar.gz
volse-hubzilla-b70c6809648bb3c78e5e26f9293727b3a7aa4025.tar.bz2
volse-hubzilla-b70c6809648bb3c78e5e26f9293727b3a7aa4025.zip
Major corrections to access control and page construction.
Diffstat (limited to 'view/tpl/wiki.tpl')
-rw-r--r--view/tpl/wiki.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/view/tpl/wiki.tpl b/view/tpl/wiki.tpl
index d2ce03f5a..86c503bb3 100644
--- a/view/tpl/wiki.tpl
+++ b/view/tpl/wiki.tpl
@@ -16,6 +16,8 @@
<div class="pull-right">
{{if $showNewWikiButton}}
<button class="btn btn-primary btn-xs" onclick="$('#new-page-form-wrapper').hide(); openClose('new-wiki-form-wrapper');">New Wiki</button>
+ {{/if}}
+ {{if $showNewPageButton}}
<button class="btn btn-success btn-xs" onclick="$('#new-wiki-form-wrapper').hide(); openClose('new-page-form-wrapper');">New Page</button>
{{/if}}
<button id="fullscreen-btn" type="button" class="btn btn-default btn-xs" onclick="makeFullScreen();