Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e6acff3
commit 97588eb
Showing
5 changed files
with
74 additions
and
68 deletions.
There are no files selected for viewing
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
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,7 +1,8 @@ | ||
.bg-light.scrollable-tabs | ||
= tab_link('Configuration', configuration_path, false, 'scrollable-tab-link') | ||
= tab_link('Architectures', architectures_path, false, 'scrollable-tab-link') | ||
= tab_link('Manage Users', users_path, false, 'scrollable-tab-link') | ||
= tab_link('Manage Groups', groups_path, false, 'scrollable-tab-link') | ||
= tab_link('Notifications', notifications_path, false, 'scrollable-tab-link') | ||
= tab_link('Interconnect', new_interconnect_path, false, 'scrollable-tab-link') | ||
.card-header.p-0.border-bottom | ||
.scrollable-tabs | ||
= tab_link('Configuration', configuration_path, false, 'scrollable-tab-link') | ||
= tab_link('Architectures', architectures_path, false, 'scrollable-tab-link') | ||
= tab_link('Manage Users', users_path, false, 'scrollable-tab-link') | ||
= tab_link('Manage Groups', groups_path, false, 'scrollable-tab-link') | ||
= tab_link('Notifications', notifications_path, false, 'scrollable-tab-link') | ||
= tab_link('Interconnect', new_interconnect_path, false, 'scrollable-tab-link') |
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,14 @@ | ||
.bg-light.scrollable-tabs | ||
= tab_link('Overview', package_show_path(project, package), false, 'scrollable-tab-link') | ||
- if package.name == 'patchinfo' | ||
= tab_link('Details', show_patchinfo_path(project, package), false, 'scrollable-tab-link') | ||
-# haml-lint:disable InstanceVariables | ||
- unless @spider_bot | ||
-# haml-lint:enable InstanceVariables | ||
= tab_link('Repositories', repositories_path(project, package), false, 'scrollable-tab-link') | ||
= tab_link('Revisions', package_view_revisions_path(project, package), false, 'scrollable-tab-link') | ||
= tab_link('Requests', package_requests_path(project, package), false, 'scrollable-tab-link') | ||
= tab_link('Users', package_users_path(project, package), false, 'scrollable-tab-link') | ||
= tab_link('Attributes', index_attribs_path(project, package), false, 'scrollable-tab-link') | ||
= tab_link('Meta', package_meta_path(project, package), false, 'scrollable-tab-link') | ||
.card-header.p-0.border-bottom | ||
.scrollable-tabs | ||
= tab_link('Overview', package_show_path(project, package), false, 'scrollable-tab-link') | ||
- if package.name == 'patchinfo' | ||
= tab_link('Details', show_patchinfo_path(project, package), false, 'scrollable-tab-link') | ||
-# haml-lint:disable InstanceVariables | ||
- unless @spider_bot | ||
-# haml-lint:enable InstanceVariables | ||
= tab_link('Repositories', repositories_path(project, package), false, 'scrollable-tab-link') | ||
= tab_link('Revisions', package_view_revisions_path(project, package), false, 'scrollable-tab-link') | ||
= tab_link('Requests', package_requests_path(project, package), false, 'scrollable-tab-link') | ||
= tab_link('Users', package_users_path(project, package), false, 'scrollable-tab-link') | ||
= tab_link('Attributes', index_attribs_path(project, package), false, 'scrollable-tab-link') | ||
= tab_link('Meta', package_meta_path(project, package), false, 'scrollable-tab-link') |
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,29 +1,30 @@ | ||
.bg-light.scrollable-tabs | ||
= tab_link('Overview', [project_show_path(project), keys_and_certificates_path(project)], false, 'scrollable-tab-link') | ||
-# haml-lint:disable InstanceVariables | ||
- unless @spider_bot | ||
-# haml-lint:enable InstanceVariables | ||
- if project.is_maintenance? | ||
= tab_link('Incidents', project_maintenance_incidents_path(project), false, 'scrollable-tab-link') | ||
= tab_link('Maintained Projects', project_maintained_projects_path(project), false, 'scrollable-tab-link') | ||
- unless project.defines_remote_instance? || project.is_maintenance? | ||
= tab_link('Repositories', repositories_path(project), false, 'scrollable-tab-link') | ||
= tab_link('Monitor', project_monitor_path(project), false, 'scrollable-tab-link') | ||
= tab_link('Requests', project_requests_path(project), false, 'scrollable-tab-link') | ||
- unless project.defines_remote_instance? | ||
= tab_link('Users', project_users_path(project), false, 'scrollable-tab-link') | ||
- unless project.defines_remote_instance? || project.is_maintenance? | ||
= tab_link('Subprojects', project_subprojects_path(project), false, 'scrollable-tab-link') | ||
= tab_link('Project Config', project_config_path(project), false, 'scrollable-tab-link') | ||
= tab_link('Attributes', [index_attribs_path(project)], controller_name == 'attribute', 'scrollable-tab-link') | ||
= tab_link('Meta', project_meta_path(project), false, 'scrollable-tab-link') | ||
- unless project.defines_remote_instance? || project.is_maintenance? | ||
= tab_link('Status', project_status_path(project), false, 'scrollable-tab-link') | ||
= tab_link('Pulse', project_pulse_path(project), false, 'scrollable-tab-link') | ||
- active = controller_path.starts_with?('webui/staging') | ||
- if project.staging_project? | ||
= tab_link('Staging', staging_workflow_path(project.staging_workflow.project), false, 'scrollable-tab-link') | ||
- elsif project.staging&.persisted? | ||
= tab_link('Staging', staging_workflow_path(project), active, 'scrollable-tab-link') | ||
- elsif Staging::WorkflowPolicy.new(pundit_user, Staging::Workflow.new(project: project), ensure_logged_in: false).create? | ||
= tab_link('Staging', new_staging_workflow_path(project: project), active, 'scrollable-tab-link') | ||
.card-header.p-0.border-bottom | ||
.scrollable-tabs | ||
= tab_link('Overview', [project_show_path(project), keys_and_certificates_path(project)], false, 'scrollable-tab-link') | ||
-# haml-lint:disable InstanceVariables | ||
- unless @spider_bot | ||
-# haml-lint:enable InstanceVariables | ||
- if project.is_maintenance? | ||
= tab_link('Incidents', project_maintenance_incidents_path(project), false, 'scrollable-tab-link') | ||
= tab_link('Maintained Projects', project_maintained_projects_path(project), false, 'scrollable-tab-link') | ||
- unless project.defines_remote_instance? || project.is_maintenance? | ||
= tab_link('Repositories', repositories_path(project), false, 'scrollable-tab-link') | ||
= tab_link('Monitor', project_monitor_path(project), false, 'scrollable-tab-link') | ||
= tab_link('Requests', project_requests_path(project), false, 'scrollable-tab-link') | ||
- unless project.defines_remote_instance? | ||
= tab_link('Users', project_users_path(project), false, 'scrollable-tab-link') | ||
- unless project.defines_remote_instance? || project.is_maintenance? | ||
= tab_link('Subprojects', project_subprojects_path(project), false, 'scrollable-tab-link') | ||
= tab_link('Project Config', project_config_path(project), false, 'scrollable-tab-link') | ||
= tab_link('Attributes', [index_attribs_path(project)], controller_name == 'attribute', 'scrollable-tab-link') | ||
= tab_link('Meta', project_meta_path(project), false, 'scrollable-tab-link') | ||
- unless project.defines_remote_instance? || project.is_maintenance? | ||
= tab_link('Status', project_status_path(project), false, 'scrollable-tab-link') | ||
= tab_link('Pulse', project_pulse_path(project), false, 'scrollable-tab-link') | ||
- active = controller_path.starts_with?('webui/staging') | ||
- if project.staging_project? | ||
= tab_link('Staging', staging_workflow_path(project.staging_workflow.project), false, 'scrollable-tab-link') | ||
- elsif project.staging&.persisted? | ||
= tab_link('Staging', staging_workflow_path(project), active, 'scrollable-tab-link') | ||
- elsif Staging::WorkflowPolicy.new(pundit_user, Staging::Workflow.new(project: project), ensure_logged_in: false).create? | ||
= tab_link('Staging', new_staging_workflow_path(project: project), active, 'scrollable-tab-link') |
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