Fix start date interpolation in reports [SCI-4504]

This commit is contained in:
Oleksii Kriuchykhin 2020-03-31 18:44:43 +02:00
parent 3c53be1f9a
commit 15a793a343

View file

@ -26,7 +26,7 @@
</div> </div>
<div class="pull-right module-start-date"> <div class="pull-right module-start-date">
<% if my_module.started_on.present? %> <% if my_module.started_on.present? %>
<%= t('projects.reports.elements.module.started_on', start_date: l(my_module.started_on, format: :full)) %> <%= t('projects.reports.elements.module.started_on', started_on: l(my_module.started_on, format: :full)) %>
<% else %> <% else %>
<em><%=t "projects.reports.elements.module.no_start_date" %></em> <em><%=t "projects.reports.elements.module.no_start_date" %></em>
<% end %> <% end %>