Tweaks to login page template (Closes FS#771) [alk]
[platal.git] / templates / include / tips.tpl
index 69b106b..d274923 100644 (file)
@@ -26,6 +26,9 @@
 {/if}
   <legend>{icon name=lightbulb} {if !$tips.special}
     Astuce&nbsp;: {$tips.titre}
+    {if hasPerm('admin') && !$tips.special && !$nochange}
+    <a href="admin/tips/edit/{$tips.id}">{icon name="page_edit" title="Editer"}</a>
+    {/if}
   {else}
     <span style="color: red; font-weight: bold;">{$tips.titre}</span>
   {/if}