edit button classic poll
This commit is contained in:
parent
2b25d8c301
commit
95c4737953
@ -96,7 +96,15 @@
|
|||||||
{elseif !$hidden} {* Voted line *}
|
{elseif !$hidden} {* Voted line *}
|
||||||
<tr>
|
<tr>
|
||||||
|
|
||||||
<th class="bg-info">{$vote->name|html}</th>
|
<th class="bg-info">{$vote->name|html}
|
||||||
|
{if $slots gt 4}
|
||||||
|
<span style="float:right;">
|
||||||
|
<a href="{if $admin}{poll_url id=$poll->admin_id vote_id=$vote->uniqId admin=true}{else}{poll_url id=$poll->id vote_id=$vote->uniqId}{/if}" class="btn btn-default btn-sm" title="{__f('Poll results', 'Edit the line: %s', $vote->name)|html}">
|
||||||
|
<i class="glyphicon glyphicon-pencil"></i><span class="sr-only">{__('Generic', 'Edit')}</span>
|
||||||
|
</a>
|
||||||
|
</span>
|
||||||
|
{/if}
|
||||||
|
</th>
|
||||||
|
|
||||||
{$id=0}
|
{$id=0}
|
||||||
{foreach $slots as $slot}
|
{foreach $slots as $slot}
|
||||||
|
@ -152,11 +152,11 @@
|
|||||||
{* Voted line *}
|
{* Voted line *}
|
||||||
|
|
||||||
<th class="bg-info">{$vote->name|html}
|
<th class="bg-info">{$vote->name|html}
|
||||||
{if $slots gt 7}
|
{if $slots gt 4}
|
||||||
<span style="float:right;">
|
<span style="float:right;">
|
||||||
<a href="{if $admin}{poll_url id=$poll->admin_id vote_id=$vote->uniqId admin=true}{else}{poll_url id=$poll->id vote_id=$vote->uniqId}{/if}" class="btn btn-default btn-sm" title="{__f('Poll results', 'Edit the line: %s', $vote->name)|html}">
|
<a href="{if $admin}{poll_url id=$poll->admin_id vote_id=$vote->uniqId admin=true}{else}{poll_url id=$poll->id vote_id=$vote->uniqId}{/if}" class="btn btn-default btn-sm" title="{__f('Poll results', 'Edit the line: %s', $vote->name)|html}">
|
||||||
<i class="glyphicon glyphicon-pencil"></i><span class="sr-only">{__('Generic', 'Edit')}</span>
|
<i class="glyphicon glyphicon-pencil"></i><span class="sr-only">{__('Generic', 'Edit')}</span>
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
{/if}
|
{/if}
|
||||||
</th>
|
</th>
|
||||||
|
Loading…
Reference in New Issue
Block a user