mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 22:25:30 +08:00
13 lines
638 B
Text
13 lines
638 B
Text
|
<div class="row-reminders-title"><strong><%= t('repository_row.reminder.date_reminder') %></strong></div>
|
||
|
<div class="row-reminders-body">
|
||
|
<%if reminder.value.data < Time.now.utc %>
|
||
|
<%= t('repository_row.reminder.item_expired') %>
|
||
|
<% else %>
|
||
|
<%= t('repository_row.reminder.date_expiration_html', date_expiration:
|
||
|
pluralize(((reminder.value.data - Time.now.utc)/1.day).ceil, t('repository_row.reminder.day'))) %>
|
||
|
<% end %>
|
||
|
</div>
|
||
|
<% if reminder.repository_column.metadata["reminder_message"].present? %>
|
||
|
<div class="row-reminders-body" > <%= reminder.repository_column.metadata["reminder_message"] %> </div>
|
||
|
<% end %>
|