#set $rain = $summary.qpf.raw is not None and $summary.qpf.raw > 0
#set $snow = $summary.qsf.raw is not None and $summary.qsf.raw > 0
#if $rain or $snow
- #if $rain and not $snow
-
- $summary.qpf.nolabel('%.2f','')
- #end if
+
+ #if $rain and not $snow
+ $summary.qpf.nolabel('%.2f','')
+ #end if
- #if $snow and not $rain
-
- $summary.qsf.nolabel('%.2f','')
- #end if
+ #if $snow and not $rain
+ $summary.qsf.nolabel('%.2f','')
+ #end if
- #if $rain and $snow
-
- #set $q_pf_sf = '{:.2f}'.format($summary.qpf.raw + $summary.qsf.raw)
- $q_pf_sf
+ #if $rain and $snow
+
+ #set $q_pf_sf = '{:.2f}'.format($summary.qpf.raw + $summary.qsf.raw)
+ $q_pf_sf
+ #end if
+
+
+ #if $show_precip_detail
+ #if $rain
+
+ #include 'includes/icons/forecast/rain-drop.svg'
+ $summary.qpf.nolabel('%.2f','')
+
+ #end if
+
+ #if $snow
+
+ #include 'includes/icons/forecast/snowflake.svg'
+ $summary.qsf.nolabel('%.2f','')
+
+ #end if
#end if
+
#end if
#if not $rain and not $snow
-
#end if
-
#end if
#end for