diff options
Diffstat (limited to 'view/tpl/wiki_page_list.tpl')
-rw-r--r-- | view/tpl/wiki_page_list.tpl | 8 |
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> {{$addnew}}</a></li>{{/if}} </ul> </div> {{if $not_refresh}}</div>{{/if}} |