mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 22:25:30 +08:00
7cba738a9b
* Implement date reminder flyout [SCI-6503] * Show only days left for date reminder [SCI-6503] * Pluralize day in reminders [SCI-6503] * Create partials for different reminders [SCI-6503] * Unify css for reminder [SCI-6503]
8 lines
361 B
Text
8 lines
361 B
Text
<div class="row-reminders-title"><strong><%= t('repository_row.reminder.low_stock_title') %></strong></div>
|
|
<div class="row-reminders-body">
|
|
<% if reminder.value.amount <= 0 %>
|
|
<%= t('repository_row.reminder.stock_empty') %>
|
|
<% else %>
|
|
<%= t('repository_row.reminder.stock_low_html', stock_formated: reminder.value.formatted ) %>
|
|
<% end %>
|
|
</div>
|