aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-11-18 22:10:55 -0500
committerAndrew Manning <tamanning@zoho.com>2016-11-18 22:10:55 -0500
commit16281c626b7db96e5af3e05179315b4f0dc33d1c (patch)
tree26d41d8bda53b2ae45c94f7742b59bbb15dff0f7 /view
parentd24e867603fd253ea42050057896422beeba59db (diff)
downloadvolse-hubzilla-16281c626b7db96e5af3e05179315b4f0dc33d1c.tar.gz
volse-hubzilla-16281c626b7db96e5af3e05179315b4f0dc33d1c.tar.bz2
volse-hubzilla-16281c626b7db96e5af3e05179315b4f0dc33d1c.zip
Hide all content if no wiki is selected except for a message saying to choose one.
Diffstat (limited to 'view')
-rw-r--r--view/tpl/wiki.tpl7
1 files changed, 6 insertions, 1 deletions
diff --git a/view/tpl/wiki.tpl b/view/tpl/wiki.tpl
index e23f9d286..cf076c244 100644
--- a/view/tpl/wiki.tpl
+++ b/view/tpl/wiki.tpl
@@ -11,7 +11,12 @@
transition: opacity 0.5s 0.5s ease;
}
</style>
-<div class="generic-content-wrapper">
+{{if $hideEditor}}
+<div>
+ <p class="lead text-center">{{$chooseWikiMessage}}</p>
+</div>
+{{/if}}
+<div class="generic-content-wrapper" {{if $hideEditor}}style="display: none;"{{/if}}>
<div class="section-title-wrapper">
<div class="pull-right">