Show actions at the top
This commit is contained in:
parent
a3b2af3441
commit
be4de91ddc
1 changed files with 15 additions and 16 deletions
|
@ -11,6 +11,21 @@
|
||||||
</span>
|
</span>
|
||||||
</TMPL_IF>
|
</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>
|
<h1>
|
||||||
<TMPL_IF PERMALINK>
|
<TMPL_IF PERMALINK>
|
||||||
<a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a>
|
<a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a>
|
||||||
|
@ -52,22 +67,6 @@ License: <TMPL_VAR LICENSE>
|
||||||
</div>
|
</div>
|
||||||
</TMPL_IF>
|
</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>
|
<TMPL_IF HTML5></footer><TMPL_ELSE></div></TMPL_IF>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue