summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/page.tmpl41
1 files changed, 8 insertions, 33 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl
index 8fa0016..9bc54c2 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -86,14 +86,13 @@
<TMPL_VAR TITLE>
<span class="text-muted">ยป</span>
</div>
+ <TMPL_IF EDITURL>
<div class="col-md-4 col-sm-4 col-xs-6 text-right">
<a href="<TMPL_VAR EDITURL>" rel="nofollow">
<span class="glyphicon glyphicon-pencil"></span> Edit this page
</a>
- <TMPL_IF EDITURL>
- <a class="btn btn-default" href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a>
- </TMPL_IF>
</div>
+ </TMPL_IF>
</div>
<hr />
@@ -113,41 +112,17 @@
</TMPL_IF>
<i>
<span class="glyphicon glyphicon-calendar"></span> Last modified <TMPL_VAR MTIME>
- | <span class="glyphicon glyphicon-time"></span> <a href="<TMPL_VAR HISTORYURL>">History</a>
- | <b>&lt;&gt;</b> <a href="<TMPL_VAR GETSOURCEURL>">Show source</a>
- | <span class="glyphicon glyphicon-comment"></span><a href="<TMPL_VAR DISCUSSIONURL>"> Discussion</a>
- </i>
- </p>
-
- </div>
- </div>
-
-
-
- <div id="content" style="padding:0 1em 0">
- <!-- Tab bar -->
- <TMPL_IF HAVE_ACTIONS>
- <div class="btn-toolbar" role="toolbar">
- <div class="btn-group">
- <TMPL_IF EDITURL>
- <a class="btn btn-default" href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a>
- </TMPL_IF>
- <TMPL_IF RECENTCHANGESURL>
- <a class"btn btn-default" href="<TMPL_VAR RECENTCHANGESURL>">RecentChanges</a>
- </TMPL_IF>
<TMPL_IF HISTORYURL>
- <a class"btn btn-default" href="<TMPL_VAR HISTORYURL>">History</a>
+ | <span class="glyphicon glyphicon-time"></span> <a href="<TMPL_VAR HISTORYURL>">History</a>
</TMPL_IF>
<TMPL_IF GETSOURCEURL>
- <a class"btn btn-default" href="<TMPL_VAR GETSOURCEURL>">Source</a>
+ | <b>&lt;&gt;</b> <a href="<TMPL_VAR GETSOURCEURL>">Show source</a>
</TMPL_IF>
- <TMPL_IF PREFSURL>
- <a class"btn btn-default" href="<TMPL_VAR PREFSURL>">Preferences</a>
+ <TMPL_IF GETSOURCEURL>
+ | <span class="glyphicon glyphicon-comment"></span><a href="<TMPL_VAR DISCUSSIONURL>"> Discussion</a>
</TMPL_IF>
- </div>
- <div>
- </TMPL_IF>
-
+ </i>
+ </p>
</div>
</div>