mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-30 08:54:31 +08:00
archived experiments cards updates [SCI-7202]
This commit is contained in:
parent
d1aa127b7a
commit
a8b1dbfe76
2 changed files with 2 additions and 6 deletions
|
@ -51,7 +51,7 @@
|
|||
<span class="card-value"><%= l(experiment.archived_on || project.archived_on, format: :full_date) %></span>
|
||||
</div>
|
||||
<% end %>
|
||||
<div class="data-row" cards-render="true" data-view-mode="active">
|
||||
<div class="data-row" cards-render="true">
|
||||
<span class="card-label"><%= t('experiments.card.completed_task') %></span>
|
||||
<span class="card-value"><%= t('experiments.card.completed_value', completed: experiment.completed_task_count, all: experiment.task_count) %></span>
|
||||
</div>
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
<% if experiment.archived_branch? %>
|
||||
<div class="archived-icon-plceholder">
|
||||
<i class="fas fa-archive"></i>
|
||||
</div>
|
||||
<% elsif experiment.my_modules.any?(&:active?) %>
|
||||
<% if experiment.my_modules.any?(&:active?) %>
|
||||
<% if experiment.workflowimg.attached? %>
|
||||
<div class="workflowimg-container" data-workflowimg-present="true">
|
||||
<%= render partial: 'projects/show/workflow_img', locals: { experiment: experiment } %>
|
||||
|
|
Loading…
Add table
Reference in a new issue