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
This commit is contained in:
parent
c3a04e328f
commit
5321f704b5
5 changed files with 444 additions and 325 deletions
tpl
|
@ -44,7 +44,12 @@
|
|||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="window-subtitle">{function="format_date($dayDate, false)"}</h3>
|
||||
<h3 class="window-subtitle">
|
||||
{if="!empty($dayDesc)"}
|
||||
{$dayDesc} -
|
||||
{/if}
|
||||
{function="format_date($dayDate, false)"}
|
||||
</h3>
|
||||
|
||||
<div id="plugin_zone_about_daily" class="plugin_zone">
|
||||
{loop="$daily_about_plugin"}
|
||||
|
|
|
@ -35,6 +35,9 @@
|
|||
|
||||
<div class="dailyDate">
|
||||
<span class="nomobile">———————————</span>
|
||||
{if="!empty($dayDesc)"}
|
||||
{$dayDesc} -
|
||||
{/if}
|
||||
{function="strftime('%A %d, %B %Y', $day)"}
|
||||
<span class="nomobile">———————————</span>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue