From cb974e47476284d967483f7478e3dcb5a2d974d4 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 9 Feb 2019 14:29:35 +0100 Subject: Accessibility: specify the HTML lang attribute The lang is based on the user defined one. If the language is automatic, no language will be specified. Fixes #1216 --- tpl/default/daily.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tpl/default/daily.html') diff --git a/tpl/default/daily.html b/tpl/default/daily.html index 2c409478..359ecbd0 100644 --- a/tpl/default/daily.html +++ b/tpl/default/daily.html @@ -1,5 +1,5 @@ - + {include="includes"} -- cgit v1.2.3 From 5321f704b563df03232e2f8a1d2a26ecb8297428 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 25 May 2019 16:40:45 +0200 Subject: 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 --- tpl/default/daily.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tpl/default/daily.html') 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 @@
-

{function="format_date($dayDate, false)"}

+

+ {if="!empty($dayDesc)"} + {$dayDesc} - + {/if} + {function="format_date($dayDate, false)"} +

{loop="$daily_about_plugin"} -- cgit v1.2.3