Skip to content

Commit

Permalink
Add partials for staging workflows and adapt project partials
Browse files Browse the repository at this point in the history
This was removed by mistake in the rebase on master
  • Loading branch information
dmarcoux committed Nov 6, 2018
1 parent f39168d commit 871f934
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
= link_to 'Projects', projects_path
%li.breadcrumb-item
= link_to @project, project_show_path(@project)
- if current_page?(project_requests_path)
- if current_page?(project_requests_path(@project))
%li.breadcrumb-item.active{ 'aria-current' => 'page' }
Requests
10 changes: 5 additions & 5 deletions src/api/app/views/webui2/webui/project/_tabs.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
= tab_link('Maintained Projects', project_maintained_projects_path)
- unless project.defines_remote_instance? || project.is_maintenance?
%li.nav-item
= tab_link('Repositories', repositories_path)
= tab_link('Repositories', repositories_path(project))
%li.nav-item
= tab_link('Requests', project_requests_path)
= tab_link('Requests', project_requests_path(project))
- unless project.defines_remote_instance?
%li.nav-item
= tab_link('Users', project_users_path(project))
Expand All @@ -25,16 +25,16 @@
%li.nav-item
= tab_link('Subprojects', project_subprojects_path(project))
%li.nav-item
= tab_link('Project Config', project_config_path)
= tab_link('Project Config', project_config_path(project))
%li.nav-item
= tab_link('Attributes', index_attribs_path(project))
%li.nav-item
= tab_link('Meta', project_meta_path)
= tab_link('Meta', project_meta_path(project))
- unless project.defines_remote_instance? || project.is_maintenance?
%li.nav-item
= tab_link('Status', project_status_path(project))
%li.nav-item
= tab_link('Pulse', project_pulse_path)
= tab_link('Pulse', project_pulse_path(project))
%li.nav-item.dropdown
%a.nav-link.dropdown-toggle{ href: '#', 'data-toggle': 'dropdown', 'role': 'button', 'aria-expanded': 'false', 'aria-haspopup': 'true' }
.dropdown-menu.dropdown-menu-right
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
= render partial: 'webui/project/breadcrumb_items'
%li.breadcrumb-item.active{ 'aria-current' => 'page' }
Staging Projects
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.card.mb-3
%h5.card-header Infos
.card-body
Placeholder for the content
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.card.mb-3
%h5.card-header Legend
.card-body
Placeholder for the content
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= project.name
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Placeholder for the content
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Placeholder for the content

0 comments on commit 871f934

Please sign in to comment.