Skip to content

Commit

Permalink
Merge pull request #259 from bidord/fix-today-stat-tiles-custom-data-…
Browse files Browse the repository at this point in the history
…bindings

Fix stat tile on page Today using custom data binding
  • Loading branch information
Daveiano committed Mar 4, 2024
2 parents a85a43c + b117890 commit 1cdd750
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skins/weewx-wdc/includes/body-alternative.inc
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@
#set $alltime_tag = $alltime($data_binding=$skin_obs_binding) if $context == 'alltime' else None

#if $context == 'day' and not $daily_archive and $use_day
#set $stat_tile_check = $day
#set $stat_tile_check = $day($data_binding=$skin_obs_binding)
#elif $context == 'day' and not $daily_archive and not $use_day
#set $stat_tile_check = $current
#set $stat_tile_check = $current($data_binding=$skin_obs_binding)
#else
#set $stat_tile_check = $get_time_span_from_context($context, $day($data_binding=$skin_obs_binding), $week($data_binding=$skin_obs_binding), $month($data_binding=$skin_obs_binding), $year($data_binding=$skin_obs_binding), $alltime_tag, $yesterday($data_binding=$skin_obs_binding))
#end if
Expand Down

0 comments on commit 1cdd750

Please sign in to comment.