X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Feditlink.html;h=a2d9b78f96a61bcecf9d293892dcccefab70637f;hb=066333c03ca6f484b8e1505e7626d2d01f252bf5;hp=d3f99fe6482c75ad7fbe23e79a5f2d60b0b87e28;hpb=7418f7cb60524c3bfc2f240386b5e3e7eb9b3257;p=github%2Fshaarli%2FShaarli.git
diff --git a/tpl/default/editlink.html b/tpl/default/editlink.html
index d3f99fe6..a2d9b78f 100644
--- a/tpl/default/editlink.html
+++ b/tpl/default/editlink.html
@@ -39,7 +39,13 @@
{/if}
- {if="!$link_is_new"}{/if}
+ {if="!$link_is_new && isset($link.id)"}
+
+ {'Delete'|t}
+
+ {/if}
{if="$http_referer"}{/if}