diff --git a/app/views/common/_calendar.html.erb b/app/views/common/_calendar.html.erb index 6099cc3..f42c350 100644 --- a/app/views/common/_calendar.html.erb +++ b/app/views/common/_calendar.html.erb @@ -133,14 +133,13 @@
- - <% if total_hours > 0 %> - - <%= total_hours.round(1) %>h - - <% end %> + + + <%= day.day %> + (<%= abbr_day_name(day.cwday) %>) + <% if day >= User.current.today && !non_working_days.include?(day.cwday.to_s) %> <%= link_to sprite_icon('add'), @@ -150,9 +149,13 @@ <% end %> - - (<%= abbr_day_name(day.cwday) %>) - <%= day.day %> + + + <% if total_hours > 0 %> + + <%= total_hours.round(1) %>h + + <% end %>