scinote-web/app/views/my_modules/_due_date_label.html.erb

9 lines
293 B
Text
Raw Normal View History

2016-02-12 23:52:43 +08:00
<% 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 "experiments.canvas.full_zoom.no_due_date" %></em>
2016-02-12 23:52:43 +08:00
<% end %>