Show actions at the top

This commit is contained in:
Tom Willemsen 2012-11-11 14:40:33 +01:00
parent a3b2af3441
commit be4de91ddc

View file

@ -11,6 +11,21 @@
</span>
</TMPL_IF>
<TMPL_IF HAVE_ACTIONS>
<div class="btn-group pull-right">
<TMPL_IF EDITURL>
<a class="btn" href="<TMPL_VAR EDITURL>" rel="nofollow"><i class="icon-edit"></a>
</TMPL_IF>
<TMPL_IF COMMENTSLINK>
<span class="btn"><TMPL_VAR COMMENTSLINK></span>
<TMPL_ELSE>
<TMPL_IF DISCUSSIONLINK>
<span class="btn"><TMPL_VAR DISCUSSIONLINK></span>
</TMPL_IF>
</TMPL_IF>
</div>
</TMPL_IF>
<h1>
<TMPL_IF PERMALINK>
<a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a>
@ -52,22 +67,6 @@ License: <TMPL_VAR LICENSE>
</div>
</TMPL_IF>
<TMPL_IF HAVE_ACTIONS>
<TMPL_IF HTML5><nav class="actions"><TMPL_ELSE><div class="actions"></TMPL_IF>
<ul>
<TMPL_IF EDITURL>
<li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li>
</TMPL_IF>
<TMPL_IF COMMENTSLINK>
<li><TMPL_VAR COMMENTSLINK></li>
<TMPL_ELSE>
<TMPL_IF DISCUSSIONLINK>
<li><TMPL_VAR DISCUSSIONLINK></li>
</TMPL_IF>
</TMPL_IF>
</ul>
<TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
</TMPL_IF>
<TMPL_IF HTML5></footer><TMPL_ELSE></div></TMPL_IF>