X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Ftips.tpl;h=cba139f70c0e17c255ac9cbcc9073311df4b219d;hb=74ce6c78a70c1eee0e90fc04fa755f30926d1493;hp=69b106b0108d55813f3e8d1e93985a5879928100;hpb=65de6c24c8d1707009a173c42950be30d3b9eb60;p=platal.git diff --git a/templates/include/tips.tpl b/templates/include/tips.tpl index 69b106b..cba139f 100644 --- a/templates/include/tips.tpl +++ b/templates/include/tips.tpl @@ -26,6 +26,9 @@ {/if} {icon name=lightbulb} {if !$tips.special} Astuce : {$tips.titre} + {if $smarty.session.perms->hasFlag('admin') && !$tips.special && !$nochange} + {icon name="page_edit" title="Editer"} + {/if} {else} {$tips.titre} {/if}