aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/editlink.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-05-31 17:50:11 +0200
committerArthurHoaro <arthur@hoa.ro>2017-05-31 17:50:11 +0200
commit807cade64c571929dc19afe3d44787c5abe84f57 (patch)
treeddb9ccab2d61e28ddbf81b5a57643b44aeaf3865 /tpl/default/editlink.html
parent3e395a6bc63cba16b0772a382f6cbac0ce4ab906 (diff)
downloadShaarli-807cade64c571929dc19afe3d44787c5abe84f57.tar.gz
Shaarli-807cade64c571929dc19afe3d44787c5abe84f57.tar.zst
Shaarli-807cade64c571929dc19afe3d44787c5abe84f57.zip
Add creation date when editing a link
Also, alter the title on edition Fixes #431
Diffstat (limited to 'tpl/default/editlink.html')
-rw-r--r--tpl/default/editlink.html9
1 files changed, 7 insertions, 2 deletions
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 @@
8 <div id="editlinkform" class="pure-g"> 8 <div id="editlinkform" class="pure-g">
9 <div class="pure-u-lg-1-5 pure-u-1-24"></div> 9 <div class="pure-u-lg-1-5 pure-u-1-24"></div>
10 <form method="post" name="linkform" class="page-form pure-u-lg-3-5 pure-u-22-24 page-form page-form-light"> 10 <form method="post" name="linkform" class="page-form pure-u-lg-3-5 pure-u-22-24 page-form page-form-light">
11 <h2 class="window-title">{'Shaare'|t}</h2> 11 <h2 class="window-title">
12 {if="!$link_is_new"}{'Edit'|t}{/if}
13 {'Shaare'|t}
14 </h2>
12 <input type="hidden" name="lf_linkdate" value="{$link.linkdate}"> 15 <input type="hidden" name="lf_linkdate" value="{$link.linkdate}">
13 {if="isset($link.id)"} 16 {if="isset($link.id)"}
14 <input type="hidden" name="lf_id" value="{$link.id}"> 17 <input type="hidden" name="lf_id" value="{$link.id}">
15 {/if} 18 {/if}
19 {if="!$link_is_new"}<div class="created-date">{'Created:'|t} {$link.created|format_date}</div>{/if}
16 <div> 20 <div>
17 <label for="lf_url">{'URL'|t}</label> 21 <label for="lf_url">{'URL'|t}</label>
18 </div> 22 </div>
@@ -55,7 +59,8 @@
55 59
56 60
57 <div class="submit-buttons center"> 61 <div class="submit-buttons center">
58 <input type="submit" value="{'Save'|t}" name="save_edit" class="" id="button-save-edit"> 62 <input type="submit" name="save_edit" class="" id="button-save-edit"
63 value="{if="$link_is_new"}{'Save'|t}{else}{'Apply Changes'|t}{/if}">
59 {if="!$link_is_new"} 64 {if="!$link_is_new"}
60 <a href="?delete_link&amp;lf_linkdate={$link.id}&amp;token={$token}" 65 <a href="?delete_link&amp;lf_linkdate={$link.id}&amp;token={$token}"
61 title="" name="delete_link" class="button button-red confirm-delete"> 66 title="" name="delete_link" class="button button-red confirm-delete">