mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 13:13:22 +08:00
Merge pull request #2812 from urbanrotnik/ur-sci-4969-status-on-task-card
Show status on task card [SCI-4969]
This commit is contained in:
commit
447ba6aa64
2 changed files with 5 additions and 2 deletions
|
@ -762,7 +762,10 @@ ul.double-line > li {
|
|||
background-color: var(--state-color);
|
||||
color: $color-white;
|
||||
margin: 3px 0;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
padding: 2px 8px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
width: fit-content;
|
||||
}
|
||||
|
|
|
@ -37,8 +37,8 @@
|
|||
<% else %>
|
||||
<%= render partial: "my_modules/card_due_date_label.html.erb", locals: { my_module: my_module, format: :full_date } %>
|
||||
<% end %>
|
||||
<div class="status-label" style="--state-color: #2DBE61">
|
||||
Completed
|
||||
<div class="status-label" style="--state-color: <%= my_module.my_module_status.color %>">
|
||||
<%= my_module.my_module_status.name %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue