diff options
author | Grégoire Détrez <gregoire.detrez@gu.se> | 2014-09-15 20:19:51 +0200 |
---|---|---|
committer | Grégoire Détrez <gregoire.detrez@gu.se> | 2014-09-15 20:19:51 +0200 |
commit | be78f8efb56f10e5e689c85b794fa62e28292fcc (patch) | |
tree | d8456b8024b512a94deed58bfcbfcf11f9f4ccb9 | |
parent | 300e26346268ed3114be431a58573ba96fa31902 (diff) |
Fix some acion links
-rw-r--r-- | templates/page.tmpl | 41 |
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><></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><></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> |