aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/wiki_page_list.tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-11-15 00:50:31 -0800
committerzotlabs <mike@macgirvin.com>2016-11-15 00:50:31 -0800
commite0a702df764036ae0303a49f08b2ada90ed0a842 (patch)
tree9a10631db191b0cc29c562879cb5aff3ceba6bb1 /view/tpl/wiki_page_list.tpl
parente990a35a91014e5874ca21dfb057b2435c9bada6 (diff)
downloadvolse-hubzilla-e0a702df764036ae0303a49f08b2ada90ed0a842.tar.gz
volse-hubzilla-e0a702df764036ae0303a49f08b2ada90ed0a842.tar.bz2
volse-hubzilla-e0a702df764036ae0303a49f08b2ada90ed0a842.zip
wiki: permissions issues, untranslated strings in templates and some minor changes to provide a consistent UI with the rest of the app.
Diffstat (limited to 'view/tpl/wiki_page_list.tpl')
-rw-r--r--view/tpl/wiki_page_list.tpl8
1 files changed, 5 insertions, 3 deletions
diff --git a/view/tpl/wiki_page_list.tpl b/view/tpl/wiki_page_list.tpl
index c5f3ec9a0..c020f2520 100644
--- a/view/tpl/wiki_page_list.tpl
+++ b/view/tpl/wiki_page_list.tpl
@@ -1,12 +1,14 @@
{{if $not_refresh}}<div id="wiki_page_list_container" {{if $hide}} style="display: none;" {{/if}}>{{/if}}
<div id="wiki_page_list" class="widget" >
- <h3>{{$header}}
- <i id="new-page-button" class="pull-right generic-icons fakelink fa fa-plus" title="New page" onclick="wiki_show_new_page_form();"></i>
- </h3>
+ <h3>{{$header}}</h3>
+
<ul class="nav nav-pills nav-stacked">
+ {{if $pages}}
{{foreach $pages as $page}}
<li><a href="/wiki/{{$channel}}/{{$wikiname}}/{{$page.url}}">{{$page.title}}</a></li>
{{/foreach}}
+ {{/if}}
+ {{if $canadd}}<li><a href="#" onclick="wiki_show_new_page_form(); return false;"><i class="fa fa-plus-circle"></i>&nbsp;{{$addnew}}</a></li>{{/if}}
</ul>
</div>
{{if $not_refresh}}</div>{{/if}}