mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 20:24:43 +08:00
b64e200b91
Also refactor localization files concerning canvas.
8 lines
293 B
Text
8 lines
293 B
Text
<% 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>
|
|
<% end %>
|