Skip to content

Commit

Permalink
Fix staging_project table content
Browse files Browse the repository at this point in the history
Staging Project table was wrongly indented and this was causing that the
table has two thead and tbody.
  • Loading branch information
DavidKang authored and dmarcoux committed Nov 5, 2018
1 parent 9f0329e commit cf47c45
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/api/app/views/webui2/webui/staging_workflows/show.html.haml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
- @pagetitle = "Staging Projects for #{@project}"

.row
.col-xl-10
.card.mb-3
= render(partial: 'webui2/webui/project/tabs', locals: { project: @project })
.card-body
%h3= @pagetitle
%table.table.table-striped.table-bordered.table-sm.dt-responsive.w-100#files-table
%thead
%tr.text-center
%th Project
%th Requests
%th Problems

%tbody
- @staging_workflow.staging_projects.each do |staging_project|
%tr
%td
= render partial: 'overall_state', locals: { project: staging_project }
%td
= render partial: 'packages_list', locals: { project: staging_project }
%td.broken-packages
= render partial: 'problems', locals: { project: staging_project }
.col-xl-2
= render partial: 'legend'
= render partial: 'infos'

0 comments on commit cf47c45

Please sign in to comment.