mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-24 07:44:46 +08:00
Merge pull request #4812 from aignatov-bio/ai-sci-7755-remove-warning-icon-for-completed-tasks
Experiment table - remove warning icon from due date for completed tasks [SCI-7755]
This commit is contained in:
commit
35d46e6cd4
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
|||
<span class="due-date-label" data-due-date="<%= my_module.due_date.present? %>" >
|
||||
<% if my_module.is_one_day_prior? %>
|
||||
<% if my_module.is_one_day_prior? && !my_module.completed? %>
|
||||
<%= l(my_module.due_date, format: :full_date) %>
|
||||
<span class="fas fa-exclamation-triangle <%= get_task_alert_color(my_module) %>"></span>
|
||||
<% elsif my_module.is_overdue? %>
|
||||
<% elsif my_module.is_overdue? && !my_module.completed? %>
|
||||
<%= l(my_module.due_date, format: :full_date) %>
|
||||
<span class="fas fa-exclamation-triangle <%= get_task_alert_color(my_module) %>"></span>
|
||||
<% elsif my_module.due_date %>
|
||||
|
|
Loading…
Reference in a new issue