diff options
author | ArthurHoaro <arthur@hoa.ro> | 2019-05-25 16:40:45 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2019-05-25 16:40:45 +0200 |
commit | 5321f704b563df03232e2f8a1d2a26ecb8297428 (patch) | |
tree | e099496fa676c46a792b72c661ec1777838e8436 /tpl/default/daily.html | |
parent | c3a04e328f2c8d40890b0b26b118a193110634ce (diff) | |
download | Shaarli-5321f704b563df03232e2f8a1d2a26ecb8297428.tar.gz Shaarli-5321f704b563df03232e2f8a1d2a26ecb8297428.tar.zst Shaarli-5321f704b563df03232e2f8a1d2a26ecb8297428.zip |
Daily - display the current day instead of the previous one
Also mention if it's today or yesterday for clarity using `dayDesc`
variable
Fixes #1299
Diffstat (limited to 'tpl/default/daily.html')
-rw-r--r-- | tpl/default/daily.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tpl/default/daily.html b/tpl/default/daily.html index 359ecbd0..6b5103a4 100644 --- a/tpl/default/daily.html +++ b/tpl/default/daily.html | |||
@@ -44,7 +44,12 @@ | |||
44 | </div> | 44 | </div> |
45 | </div> | 45 | </div> |
46 | <div> | 46 | <div> |
47 | <h3 class="window-subtitle">{function="format_date($dayDate, false)"}</h3> | 47 | <h3 class="window-subtitle"> |
48 | {if="!empty($dayDesc)"} | ||
49 | {$dayDesc} - | ||
50 | {/if} | ||
51 | {function="format_date($dayDate, false)"} | ||
52 | </h3> | ||
48 | 53 | ||
49 | <div id="plugin_zone_about_daily" class="plugin_zone"> | 54 | <div id="plugin_zone_about_daily" class="plugin_zone"> |
50 | {loop="$daily_about_plugin"} | 55 | {loop="$daily_about_plugin"} |