From 807cade64c571929dc19afe3d44787c5abe84f57 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Wed, 31 May 2017 17:50:11 +0200 Subject: Add creation date when editing a link Also, alter the title on edition Fixes #431 --- tpl/default/css/shaarli.css | 8 ++++++++ tpl/default/editlink.html | 9 +++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) (limited to 'tpl/default') diff --git a/tpl/default/css/shaarli.css b/tpl/default/css/shaarli.css index 28920648..8b86bce2 100644 --- a/tpl/default/css/shaarli.css +++ b/tpl/default/css/shaarli.css @@ -992,6 +992,14 @@ form[name="linkform"].page-form { color: #3f3f3f; } +/** + * EDIT LINK + */ +#editlinkform .created-date { + color: #767676; + margin-bottom: 10px; +} + /** * LOGIN */ diff --git a/tpl/default/editlink.html b/tpl/default/editlink.html index 354499a4..d03fd72f 100644 --- a/tpl/default/editlink.html +++ b/tpl/default/editlink.html @@ -8,11 +8,15 @@
-

{'Shaare'|t}

+

+ {if="!$link_is_new"}{'Edit'|t}{/if} + {'Shaare'|t} +

{if="isset($link.id)"} {/if} + {if="!$link_is_new"}
{'Created:'|t} {$link.created|format_date}
{/if}
@@ -55,7 +59,8 @@
- + {if="!$link_is_new"} -- cgit v1.2.3