Skip to content

Commit

Permalink
Fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
jorg-vr committed Jan 4, 2024
1 parent f260274 commit bdef7fb
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions app/views/submissions/_description.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -47,29 +47,29 @@
<span class="text-muted small" title="<%= l submission.created_at, format: :submission %>"><%= time_ago_in_words submission.created_at %> <%= t "submissions.show.ago" %></span>
</span>
</div>
<div class="col-md-6 submission-history">
<div class="timestamp-col">
<% @submissions_time_stamps.each do |t| %>
<span class="text-muted small submission-history-row <%= t.present? ? 'mt-1' : '' %>"><%= t %></span>
<br/>
<% end %>
</div>
<div>
<% @submissions.each_with_index do |s, i| %>
<span class="submission-history-row <%= @submissions_time_stamps[i].present? ? 'mt-1' : '' %> <%= s.id == submission.id ? 'current-submission' : '' %>">
<%= link_to "##{@submissions.length - i}", submission_path(s), class: 'submission-link' %>
<span class='status-icon' id="history-<%= s.id %>"><%= submission_status_icon(s, 12) %></span>
<span>
<%= Submission.human_enum_name(:status, s.status) %>
<% if s.summary.present? and s.summary.downcase != Submission.human_enum_name(:status, s.status).downcase %>
&middot; <span class='text-muted'><%= s.summary %></span>
<% end %>
</span>
<div class="col-md-6 submission-history">
<div class="timestamp-col">
<% @submissions_time_stamps.each do |t| %>
<span class="text-muted small submission-history-row <%= t.present? ? 'mt-1' : '' %>"><%= t %></span>
<br/>
<% end %>
</div>
<div>
<% @submissions.each_with_index do |s, i| %>
<span class="submission-history-row <%= @submissions_time_stamps[i].present? ? 'mt-1' : '' %> <%= s.id == submission.id ? 'current-submission' : '' %>">
<%= link_to "##{@submissions.length - i}", submission_path(s), class: 'submission-link' %>
<span class='status-icon' id="history-<%= s.id %>"><%= submission_status_icon(s, 12) %></span>
<span>
<%= Submission.human_enum_name(:status, s.status) %>
<% if s.summary.present? and s.summary.downcase != Submission.human_enum_name(:status, s.status).downcase %>
&middot; <span class='text-muted'><%= s.summary %></span>
<% end %>
</span>
<br/>
<% end %>
</div>
</span>
<br/>
<% end %>
</div>
</div>
<% @feedbacks.each do |feedback| %>
<div class="col-md-12 mb-2">
<span class="score">
Expand Down

0 comments on commit bdef7fb

Please sign in to comment.