aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-11-18 21:25:40 -0500
committerAndrew Manning <tamanning@zoho.com>2016-11-18 21:25:40 -0500
commitd5c14a513d435aade7d16d792a7e7a22ff9b01ff (patch)
tree523af1dad8ee5980e90f71d1e1f63de4c66d3330 /view/tpl
parentf9b836027d4d06d218e0926c539845b641353cfb (diff)
downloadvolse-hubzilla-d5c14a513d435aade7d16d792a7e7a22ff9b01ff.tar.gz
volse-hubzilla-d5c14a513d435aade7d16d792a7e7a22ff9b01ff.tar.bz2
volse-hubzilla-d5c14a513d435aade7d16d792a7e7a22ff9b01ff.zip
Wiki pages display in tab to the left of the edit pane tab. Home is always first in the list.
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/wiki.tpl10
1 files changed, 5 insertions, 5 deletions
diff --git a/view/tpl/wiki.tpl b/view/tpl/wiki.tpl
index 2c2f05867..fd983ebdf 100644
--- a/view/tpl/wiki.tpl
+++ b/view/tpl/wiki.tpl
@@ -40,8 +40,8 @@
<button id="fullscreen-btn" type="button" class="btn btn-default btn-xs" onclick="makeFullScreen();"><i class="fa fa-expand"></i></button>
<button id="inline-btn" type="button" class="btn btn-default btn-xs" onclick="makeFullScreen(false);"><i class="fa fa-compress"></i></button>
</div>
- <h2><span id="wiki-header-name"><i class="fa fa-book"></i>&nbsp{{$wikiheaderName}}</span>&nbsp&nbsp:&nbsp&nbsp
- <span id="wiki-header-page"><i class="fa fa-file-text-o"></i>&nbsp{{$wikiheaderPage}}</span>
+ <h2><span id="wiki-header-name"><i class="fa fa-book"></i>&nbsp<b>{{$wikiheaderName}}</b></span>&nbsp:&nbsp
+ <span id="wiki-header-page">{{$wikiheaderPage}}</span>
</h2>
<div class="clear"></div>
</div>
@@ -62,11 +62,11 @@
<div id="wiki-content-container" class="section-content-wrapper" {{if $hideEditor}}style="display: none;"{{/if}}>
<ul class="nav nav-tabs" id="wiki-nav-tabs">
-
+ <li id="wiki-header-page"><a data-toggle="tab" href="#pages-pane" id="wiki-show-page-list"><i class="fa fa-file-text-o" style="margin-right: 10px"></i>&nbsp Pages</a></li>
<li id="edit-pane-tab"><a data-toggle="tab" href="#edit-pane">Edit</a></li>
<li class="active"><a data-toggle="tab" href="#preview-pane" id="wiki-get-preview">View</a></li>
<li {{if $hidePageHistory}}style="display: none;"{{/if}}><a data-toggle="tab" href="#page-history-pane" id="wiki-get-history">History</a></li>
- <li id="wiki-header-page"><a data-toggle="tab" href="#pages-pane" id="wiki-show-page-list"><i class="fa fa-file-text-o" style="margin-right: 10px"></i>&nbsp Pages</a></li>
+
</ul>
<div class="tab-content" id="wiki-page-tabs">
@@ -519,7 +519,7 @@
wiki_refresh_page_list();
$("#wiki-toc").toc({content: "#wiki-preview", headings: "h1,h2,h3,h4"});
// Show Edit tab first. Otherwise the Ace editor does not load.
- $("#wiki-nav-tabs li:eq(1) a").tab('show');
+ $("#wiki-nav-tabs li:eq(2) a").tab('show');
{{if $showNewWikiButton}}
$('#new-wiki-button').show();
{{else}}