Commit 15a28238 authored by Phil Hughes's avatar Phil Hughes
Browse files

fixed breadcrumb titles

parent 9f1cd47b1246
- @breadcrumb_title = "Service Templates"
- page_title @service.title, "Service Templates"
= render 'form'
- @breadcrumb_title = "Issues"
- @hide_top_links = true
- page_title "Issues"
- header_title "Issues", issues_dashboard_path(assignee_id: current_user.id)
......
- @breadcrumb_title = "Merge Requests"
- @hide_top_links = true
- page_title "Merge Requests"
- header_title "Merge Requests", merge_requests_dashboard_path(assignee_id: current_user.id)
......
- @hide_top_links = true
- page_title "Snippets"
- header_title "Snippets", snippets_path
......
- @breadcrumb_link = dashboard_groups_path
- @hide_top_links = true
- page_title 'New Group'
- header_title "Groups", dashboard_groups_path
......
......@@ -13,7 +13,7 @@
= nav_link(controller: :dashboard, html_options: {class: 'home'}) do
= link_to admin_root_path, title: 'Overview' do
%span
Overview
Dashboard
= nav_link(controller: [:admin, :projects]) do
= link_to admin_projects_path, title: 'Projects' do
%span
......
- @breadcrumb_title = "Account"
- page_title "Account"
- @content_class = "limit-container-width" unless fluid_layout
= render 'profiles/head'
......
- page_title 'Two-Factor Authentication', 'Account'
- header_title "Two-Factor Authentication", profile_two_factor_auth_path
- if show_new_nav?
- breadcrumbs_extra_links("Account", profile_path)
- else
- header_title "Two-Factor Authentication", profile_two_factor_auth_path
- @breadcrumb_title = "Two-Factor Authentication"
- @content_class = "limit-container-width" unless fluid_layout
- if show_new_nav?
- content_for :header_title_before do
= link_to "User Settings", profile_path
= render 'profiles/head'
- if inject_u2f_api?
......
......@@ -4,7 +4,7 @@
- page_title "Boards"
- if show_new_nav?
- breadcrumbs_extra_links("Issues", project_issues_path(@project.namespace))
- breadcrumbs_extra_links("Issues", project_issues_path(@project))
- content_for :page_specific_javascripts do
= webpack_bundle_tag 'common_vue'
......
......@@ -3,7 +3,7 @@
= render "projects/commits/head"
- if show_new_nav?
- breadcrumbs_extra_links("Repository", project_files_path(@project))
- breadcrumbs_extra_links("Repository", project_tree_path(@project))
%div{ class: container_class }
.top-area.adjust
......
......@@ -5,7 +5,7 @@
= auto_discovery_link_tag(:atom, project_commits_url(@project, @ref, rss_url_options), title: "#{@project.name}:#{@ref} commits")
- if show_new_nav?
- breadcrumbs_extra_links("Repository", project_files_path(@project))
- breadcrumbs_extra_links("Repository", project_tree_path(@project))
= content_for :sub_nav do
= render "head"
......
- @no_container = true
- page_title "Compare"
- if show_new_nav?
- breadcrumbs_extra_links("Repository", project_files_path(@project))
- breadcrumbs_extra_links("Repository", project_tree_path(@project))
= render "projects/commits/head"
%div{ class: container_class }
......
- @no_container = true
- page_title "#{params[:from]}...#{params[:to]}"
- if show_new_nav?
- breadcrumbs_extra_links("Repository", project_files_path(@project))
- breadcrumbs_extra_links("Repository", project_tree_path(@project))
= render "projects/commits/head"
%div{ class: container_class }
......
......@@ -2,6 +2,9 @@
- page_title "Environments"
= render "projects/pipelines/head"
- if show_new_nav?
- breadcrumbs_extra_links("Pipelines", project_pipelines_path(@project))
- content_for :page_specific_javascripts do
= page_specific_javascript_bundle_tag('common_vue')
= page_specific_javascript_bundle_tag("environments")
......
......@@ -2,7 +2,7 @@
- @breadcrumb_title = "Charts"
- page_title "Charts"
- if show_new_nav?
- breadcrumbs_extra_links("Repository", project_files_path(@project))
- breadcrumbs_extra_links("Repository", project_tree_path(@project))
- content_for :page_specific_javascripts do
= page_specific_javascript_bundle_tag('common_d3')
= page_specific_javascript_bundle_tag('graphs')
......
......@@ -6,7 +6,7 @@
= page_specific_javascript_bundle_tag('graphs')
- if show_new_nav?
- breadcrumbs_extra_links("Repository", project_files_path(@project))
- breadcrumbs_extra_links("Repository", project_tree_path(@project))
= render 'projects/commits/head'
......
......@@ -2,6 +2,9 @@
- page_title "Jobs"
= render "projects/pipelines/head"
- if show_new_nav?
- breadcrumbs_extra_links("Pipelines", project_pipelines_path(@project))
%div{ class: container_class }
.top-area
- build_path_proc = ->(scope) { project_jobs_path(@project, scope: scope) }
......
......@@ -3,7 +3,7 @@
- content_for :page_specific_javascripts do
= page_specific_javascript_bundle_tag('network')
- if show_new_nav?
- breadcrumbs_extra_links("Repository", project_files_path(@project))
- breadcrumbs_extra_links("Repository", project_tree_path(@project))
= render "projects/commits/head"
= render "head"
%div{ class: container_class }
......
- @breadcrumb_link = dashboard_projects_path
- @hide_top_links = true
- page_title 'New Project'
- header_title "Projects", dashboard_projects_path
......
- @breadcrumb_title = "Integrations"
- page_title @service.title, "Services"
- if show_new_nav?
- breadcrumbs_extra_links("Settings", edit_project_path(@project))
= render "projects/settings/head"
= render 'form'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment