Skip to content

Commit

Permalink
Additional fix for snippet module retrofit
Browse files Browse the repository at this point in the history
  • Loading branch information
dleffler committed Apr 22, 2011
1 parent 8c55edc commit c67b09e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions framework/modules/snippet/views/snippet/showall.tpl
Expand Up @@ -23,13 +23,13 @@
<div class="item-actions">
{if $permissions.edit == 1}
{if $text->id != ""}
{icon action=edit img=edit.png class="editlink" id=$text->id title="Edit this code snippet" text="Edit this code snippet"}
{icon action=edit record=$text title="Edit this code snippet"}
{else}
{icon action=edit class="add" title="Add a new code snippet" text="Add a new code snippet"}
{icon action=edit class="add" title="Add a new code snippet"|gettext text="Add a code snippet"|gettext}
{/if}
{/if}
{if $permissions.delete == 1 && $text->id != ""}
{icon action=delete img=delete.png id=$text->id title="Delete this `$modelname`" onclick="return confirm('Are you sure you want to delete this `$modelname`?');"}
{icon action=delete record=$text title="Delete this `$modelname`" onclick="return confirm('Are you sure you want to delete this `$modelname`?');"}
{/if}
</div>
<div class="module-actions">
Expand Down

0 comments on commit c67b09e

Please sign in to comment.