scinote-web/app/views/my_modules/_module_state_label.html.erb
2017-02-10 14:27:20 +01:00

8 lines
297 B
Text

<%= t('my_modules.states.state_label') %>
<% if my_module.completed? %>
<strong class="alert-green">
<%= t('my_modules.states.completed_on', date: l(my_module.completed_on, format: :full_date)) %>
</strong>
<% else %>
<strong><%= t('my_modules.states.in_progress') %></strong>
<% end %>