From 59175ff0394b9dae229a548e9227ea4b423ee95b Mon Sep 17 00:00:00 2001 From: Bertocq Date: Fri, 6 Oct 2017 18:36:19 +0200 Subject: [PATCH] Add date on officer assignment list for final shifts --- app/views/admin/poll/officer_assignments/by_officer.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/poll/officer_assignments/by_officer.html.erb b/app/views/admin/poll/officer_assignments/by_officer.html.erb index c9873db96..c6738eba0 100644 --- a/app/views/admin/poll/officer_assignments/by_officer.html.erb +++ b/app/views/admin/poll/officer_assignments/by_officer.html.erb @@ -21,7 +21,7 @@ <% @officer_assignments.each do |officer_assignment| %> - <%= officer_assignment.final? ? t('polls.final_date') : l(officer_assignment.date.to_date) %> + <%= l(officer_assignment.date.to_date)%> <%= content_tag :strong, t('polls.final_date') if officer_assignment.final %> <%= booth_name_with_location(officer_assignment.booth_assignment.booth) %> <% end %>