Skip to content

Commit

Permalink
changes from controlllet
Browse files Browse the repository at this point in the history
  • Loading branch information
qinmingyuan committed Nov 30, 2023
1 parent 14c9eb6 commit d5b76be
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions app/views/auditor/panel/audits/_index/_index_tbody.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@
<% end %>
</td>
<td>
<% model.related_changes.each do |key, value| %>
<% value.each do |relate| %>
<div class="ui segment">
<span class="ui blue label"><%= key %>: <%= relate[:id] %></span>
<div class="ui divider"></div>
<% relate[:changes].each do |k, v| %>
<div class="ui label"><%= k %>: </div>
<%= v[0] %>
<i class="arrow circle right icon grey"></i>
<%= v[1] %>
<% end %>
<% model.related_changes.each do |key, records| %>
<span class="tag"><%= key %></span>
<% records.each do |record| %>
<% record.each do |k, v| %>
<div>
<span><%= k %></span>
<span><%= v[0] %></span>
<i class="fa-solid fa-arrow-right"></i>
<span><%= v[1] %></span>
</div>
<% end %>
<% end %>
<% end %>
</td>

0 comments on commit d5b76be

Please sign in to comment.