|
|
|
@ -1,4 +1,7 @@ |
|
|
|
<section class="app-table-group" tabindex="0" aria-labelledby="<%= title.dasherize %>"> |
|
|
|
<section class="app-table-group" tabindex="0" aria-labelledby="<%= title.dasherize %>"> |
|
|
|
|
|
|
|
<% if @merge_requests.empty? %> |
|
|
|
|
|
|
|
<p>No merge requests</p> |
|
|
|
|
|
|
|
<% else %> |
|
|
|
<%= govuk_table do |table| %> |
|
|
|
<%= govuk_table do |table| %> |
|
|
|
<%= table.with_caption(classes: %w[govuk-!-font-size-19 govuk-!-font-weight-regular]) do |caption| %> |
|
|
|
<%= table.with_caption(classes: %w[govuk-!-font-size-19 govuk-!-font-weight-regular]) do |caption| %> |
|
|
|
<strong><%= @merge_requests.where.not(status: 4).count %></strong> unresolved merge requests |
|
|
|
<strong><%= @merge_requests.where.not(status: 4).count %></strong> unresolved merge requests |
|
|
|
@ -51,4 +54,5 @@ |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
|
|
|
|
<% end %> |
|
|
|
</section> |
|
|
|
</section> |
|
|
|
|