scinote-web/app/views/my_modules/_due_date_label.html.erb
2016-02-12 16:52:43 +01:00

9 lines
290 B
Plaintext

<% if my_module.due_date then %>
<%=l my_module.due_date, format: :full_date %>
<% if my_module.is_overdue? or my_module.is_one_day_prior? %>
<span class="glyphicon glyphicon-alert"></span>
<% end %>
<% else %>
<em><%=t "projects.canvas.full_zoom.no_due_date" %></em>
<% end %>