aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/wiki.tpl
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-06-05 21:14:30 -0400
committerAndrew Manning <tamanning@zoho.com>2016-06-05 21:14:30 -0400
commit2af8105b460d300ba41928734c960f5f70613952 (patch)
treea7563f9f7dcd561bd8161acf98074500118edc89 /view/tpl/wiki.tpl
parent4528becf4ccbeea3d63f729ed643b5fc7d67f1bb (diff)
downloadvolse-hubzilla-2af8105b460d300ba41928734c960f5f70613952.tar.gz
volse-hubzilla-2af8105b460d300ba41928734c960f5f70613952.tar.bz2
volse-hubzilla-2af8105b460d300ba41928734c960f5f70613952.zip
Hide page history viewer when viewing sandbox
Diffstat (limited to 'view/tpl/wiki.tpl')
-rw-r--r--view/tpl/wiki.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/wiki.tpl b/view/tpl/wiki.tpl
index 05ddad05b..05604778d 100644
--- a/view/tpl/wiki.tpl
+++ b/view/tpl/wiki.tpl
@@ -61,7 +61,7 @@
<ul class="nav nav-tabs" id="wiki-nav-tabs">
<li><a data-toggle="tab" href="#edit-pane">Edit</a></li>
<li class="active"><a data-toggle="tab" href="#preview-pane" id="wiki-get-preview">Preview</a></li>
- <li><a data-toggle="tab" href="#page-history-pane" id="wiki-get-history">History</a></li>
+ <li {{if $hidePageHistory}}style="display: none;"{{/if}}><a data-toggle="tab" href="#page-history-pane" id="wiki-get-history">History</a></li>
{{if $showPageControls}}
<li class="dropdown">
<a data-toggle="dropdown" class="dropdown-toggle" href="#">Page <b class="caret"></b></a>
@@ -82,7 +82,7 @@
{{$renderedContent}}
</div>
</div>
- <div id="page-history-pane" class="tab-pane fade">
+ <div id="page-history-pane" class="tab-pane fade" {{if $hidePageHistory}}style="display: none;"{{/if}}>
<div id="page-history-list" class="section-content-wrapper">
<table class="table-striped table-responsive table-hover" style="width: 100%;">
{{foreach $pageHistory as $commit}}