Skip to content

Commit

Permalink
Adapt staging workflow's breadcrumb to new namespace
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 14, 2018
1 parent 76802b4 commit 41a7504
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
= render partial: 'webui/project/breadcrumb_items'
- if controller_name == 'staging_workflows' && action_name == 'show'
- if controller_name == 'workflows' && action_name == 'show'
%li.breadcrumb-item.active{ 'aria-current' => 'page' }
Staging Projects
- elsif controller_name == 'staging_workflows' && action_name == 'new'
- elsif controller_name == 'workflows' && action_name == 'new'
%li.breadcrumb-item.active{ 'aria-current' => 'page' }
Create Staging Projects
- else
%li.breadcrumb-item
= link_to 'Staging Projects', staging_workflows_path(@staging_workflow)
- if controller_name == 'staging_workflows' && action_name == 'edit'
= link_to 'Staging Projects', staging_workflow_path(@staging_workflow)
- if controller_name == 'workflows' && action_name == 'edit'
%li.breadcrumb-item.active{ 'aria-current' => 'page' }
Edit

0 comments on commit 41a7504

Please sign in to comment.