-
Notifications
You must be signed in to change notification settings - Fork 434
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6260 from saraycp/fix_workflow_breadcrumb
Adapt staging workflow's breadcrumb to new namespace
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
8 changes: 4 additions & 4 deletions
8
src/api/app/views/webui2/webui/staging/workflows/_breadcrumb_items.html.haml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |