mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-23 15:24:57 +08:00
Revert modified date on experiment card
This commit is contained in:
parent
f44cb2a1bb
commit
2fd2d7300e
2 changed files with 6 additions and 14 deletions
|
@ -114,7 +114,7 @@
|
|||
|
||||
.actions-cell {
|
||||
height: 36px;
|
||||
margin-left: .5em;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.data-row {
|
||||
|
@ -130,14 +130,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
.modified-date-cell {
|
||||
margin-left: auto;
|
||||
|
||||
.card-label {
|
||||
color: $color-silver-chalice;
|
||||
}
|
||||
}
|
||||
|
||||
.progress {
|
||||
box-shadow: none;
|
||||
height: 4px;
|
||||
|
|
|
@ -12,11 +12,6 @@
|
|||
<div class="experiment-code-cell table-cell">
|
||||
<span><%= experiment.code %></span>
|
||||
</div>
|
||||
|
||||
<div class="data-row modified-date-cell table-cell">
|
||||
<span class="card-label" cards-render="true"><%= t('experiments.card.modified_date') %></span>
|
||||
<span><%= l(experiment.updated_at, format: :full_date) %></span>
|
||||
</div>
|
||||
<div class="actions actions-cell table-cell">
|
||||
<div class="dropdown dropdown-async experiment-actions-menu" data-dropdown-url="<%= actions_dropdown_experiment_path(experiment) %>">
|
||||
<button class="btn btn-light dropdown-toggle icon-btn" type="button" id="experimentActionsDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
||||
|
@ -42,6 +37,11 @@
|
|||
<span class="card-value"><%= l(experiment.created_at, format: :full_date) %></span>
|
||||
</div>
|
||||
|
||||
<div class="data-row modified-date-cell table-cell">
|
||||
<span class="card-label" cards-render="true"><%= t('experiments.card.modified_date') %></span>
|
||||
<span class="card-value"><%= l(experiment.updated_at, format: :full_date) %></span>
|
||||
</div>
|
||||
|
||||
<% if experiment.archived_branch? %>
|
||||
<div class="data-row archived-date-cell table-cell">
|
||||
<span class="card-label" cards-render="true"><%= t('experiments.card.archived_date') %></span>
|
||||
|
|
Loading…
Reference in a new issue