mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-02 05:02:18 +08:00
Add info of the locked task to the View status flow modal
This commit is contained in:
parent
136ce06022
commit
fe779f9146
1 changed files with 7 additions and 4 deletions
|
@ -1,4 +1,5 @@
|
|||
<div class="status-flow">
|
||||
<div class="status-flow">
|
||||
<% implication_description = "" %>
|
||||
<% my_module_statuses.each_with_index do |status, i| %>
|
||||
|
||||
<% unless i.zero? %>
|
||||
|
@ -15,12 +16,14 @@
|
|||
<%= status[:name] %>
|
||||
</div>
|
||||
<div class="status-comment">
|
||||
<% status.my_module_status_implications&.each do |implication| %>
|
||||
<% implication_description = implication.description if implication.description.present? %>
|
||||
<% end %>
|
||||
<%= implication_description %>
|
||||
<% status.next_status&.my_module_status_conditions&.each do |condition| %>
|
||||
<%= condition.description %><br>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue