Skip to content

Commit

Permalink
Change overall state links to point to staging project show page
Browse files Browse the repository at this point in the history
Co-authored-by: David Kang <dkang@suse.com>
  • Loading branch information
saraycp and DavidKang committed Nov 21, 2018
1 parent c16ba6c commit bfb609f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
%span.badge{ class: "state-#{staging_project.overall_state}" }
%span.badge.badge-light
-# TODO: Link to the staging project show page
= link_to(staging_project.staging_identifier, project_show_path(staging_project.staging_identifier))
= link_to(staging_project.staging_identifier, staging_workflow_staging_project_path(staging_workflow, staging_project.name))
%span
%br
= staging_project.overall_state
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
- staging_projects.each do |staging_project|
%tr
%td.project
= render partial: 'overall_state', locals: { staging_project: staging_project }
= render partial: 'overall_state', locals: { staging_workflow: staging_workflow, staging_project: staging_project }
%td.requests
= render partial: 'webui/staging/shared/packages_list', locals: { staging_project: staging_project }
%td
Expand Down

0 comments on commit bfb609f

Please sign in to comment.