Commit cdcb354f authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Remove header title from project pages

With new navigation design it makes no sense to duplicate title in the
header
Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 85495c8c
- page_title "Activity"
- header_title project_title(@project, "Activity", activity_project_path(@project))
= render 'projects/last_push'
......
- page_title 'Artifacts', "#{@build.name} (##{@build.id})", 'Builds'
= render 'projects/builds/header_title'
.top-block.row-content-block.clearfix
.pull-right
......
- page_title 'Badges'
- badges_path = namespace_project_badges_path(@project.namespace, @project)
- header_title project_title(@project, 'Badges', badges_path)
.prepend-top-10
.panel.panel-default
......
- page_title "Blame", @blob.path, @ref
- header_title project_title(@project, "Files", project_files_path(@project))
%h3.page-title Blame view
......
- header_title project_title(@project, "Files", project_files_path(@project))
- page_title "Edit", @blob.path, @ref
= render "header_title"
.file-editor
%ul.nav-links.no-bottom.js-edit-mode
......
- page_title "New File", @path.presence, @ref
= render "header_title"
%h3.page-title
New File
......
- page_title @blob.path, @ref
= render "header_title"
= render 'projects/last_push'
......
- page_title "Branches"
= render "projects/commits/header_title"
= render "projects/commits/head"
.row-content-block
.pull-right
......
- page_title "New Branch"
= render "projects/commits/header_title"
- if @error
.alert.alert-danger
......
- header_title project_title(@project, "Builds", project_builds_path(@project))
- page_title "Builds"
= render "header_title"
.top-area
%ul.nav-links
......
- page_title "#{@build.name} (##{@build.id})", "Builds"
= render "header_title"
- trace_with_state = @build.trace_with_state
.build-page
......
- page_title "Builds", "#{@commit.title} (#{@commit.short_id})", "Commits"
= render "projects/commits/header_title"
.prepend-top-default
= render "commit_box"
= render "ci_menu"
= render "ci_menu"
= render "builds"
- page_title "#{@commit.title} (#{@commit.short_id})", "Commits"
- page_description @commit.description
= render "projects/commits/header_title"
.prepend-top-default
= render "commit_box"
- if @commit.status
......
- header_title project_title(@project, "Commits", project_commits_path(@project))
- page_title "Commits", @ref
= render "header_title"
= content_for :meta_tags do
- if current_user
= auto_discovery_link_tag(:atom, namespace_project_commits_url(@project.namespace, @project, @ref, format: :atom, private_token: current_user.private_token), title: "#{@project.name}:#{@ref} commits")
......
- page_title "Compare"
= render "projects/commits/header_title"
= render "projects/commits/head"
.row-content-block
......
- page_title "#{params[:from]}...#{params[:to]}"
= render "projects/commits/header_title"
= render "projects/commits/head"
......
- header_title project_title(@project, "Container Registry", project_container_registry_path(@project))
- page_title "Container Registry"
= render "header_title"
%hr
......
- page_title "Find File", @ref
- header_title project_title(@project, "Files", project_files_path(@project))
.file-finder-holder.tree-holder.clearfix
.nav-block
......
- header_title project_title(@project, "Graphs", namespace_project_graph_path(@project.namespace, @project, current_ref))
- page_title "Continuous Integration", "Graphs"
= render "header_title"
= render 'head'
.row-content-block.append-bottom-default
.oneline
......
- page_title "Commits", "Graphs"
= render "header_title"
= render 'head'
.row-content-block.append-bottom-default
......
- page_title "Languages", "Graphs"
= render "header_title"
= render 'head'
.row-content-block.append-bottom-default
......
- page_title "Contributors", "Graphs"
= render "header_title"
= render 'head'
.row-content-block.append-bottom-default
......
- header_title project_title(@project, "Issues", namespace_project_issues_path(@project.namespace, @project))
- page_title "Edit", "#{@issue.title} (##{@issue.iid})", "Issues"
= render "header_title"
%h3.page-title
Edit Issue ##{@issue.iid}
......
- page_title "Issues"
= render "header_title"
= content_for :meta_tags do
- if current_user
......
- page_title "New Issue"
= render "header_title"
%h3.page-title
New Issue
......
- page_title "#{@issue.title} (##{@issue.iid})", "Issues"
- page_description @issue.description
- page_card_attributes @issue.card_attributes
- header_title project_title(@project, "Issues", namespace_project_issues_path(@project.namespace, @project))
.clearfix.detail-page-header
.issuable-header
......
- header_title project_title(@project, "Labels", namespace_project_labels_path(@project.namespace, @project))
- page_title "Edit", @label.name, "Labels"
= render "header_title"
%h3.page-title
Edit Label
......
- page_title "Labels"
= render "header_title"
.top-area
.nav-text
......
- page_title "New Label"
= render "header_title"
%h3.page-title
New Label
......
- header_title project_title(@project, "Merge Requests", namespace_project_merge_requests_path(@project.namespace, @project))
- page_title "#{@merge_request.title} (#{@merge_request.to_reference})", "Merge Requests"
- page_description @merge_request.description
- page_card_attributes @merge_request.card_attributes
- header_title project_title(@project, "Merge Requests", namespace_project_merge_requests_path(@project.namespace, @project))
- if diff_view == 'parallel'
- fluid_layout true
......
- page_title "Edit", "#{@merge_request.title} (#{@merge_request.to_reference}", "Merge Requests"
= render "header_title"
%h3.page-title
Edit Merge Request #{@merge_request.to_reference}
......
- page_title "Merge Requests"
= render "header_title"
= render 'projects/last_push'
......
- page_title "#{@merge_request.title} (#{@merge_request.to_reference}", "Merge Requests"
= render "header_title"
.merge-request
= render "projects/merge_requests/show/mr_title"
......
- page_title "New Merge Request"
= render "header_title"
- if @merge_request.can_be_created && !params[:change_branches]
= render 'new_submit'
......
- header_title project_title(@project, "Milestones", namespace_project_milestones_path(@project.namespace, @project))
- page_title "Edit", @milestone.title, "Milestones"
= render "header_title"
%h3.page-title
Edit Milestone ##{@milestone.iid}
......
- page_title "Milestones"
= render "header_title"
.top-area
= render 'shared/milestones_filter'
......
- page_title "New Milestone"
= render "header_title"
%h3.page-title
New Milestone
......
- page_title @milestone.title, "Milestones"
- page_description @milestone.description
= render "header_title"
.detail-page-header
.status-box{ class: status_box_class(@milestone) }
- if @milestone.closed?
......
- page_title "Network", @ref
= render "projects/commits/header_title"
= render "projects/commits/head"
= render "head"
.project-network
......
- page_title 'New Project'
- header_title "Projects", root_path
%h3.page-title
New Project
......
- header_title project_title(@project, "Pipelines", project_pipelines_path(@project))
- page_title "Pipelines"
= render "header_title"
.top-area
%ul.nav-links
......
- page_title "New Pipeline"
= render "header_title"
%h3.page-title
New Pipeline
......
- page_title "Pipeline"
= render "header_title"
.prepend-top-default
- if @commit
= render "projects/pipelines/info"
......
- header_title project_title(@project, "Members", namespace_project_project_members_path(@project.namespace, @project))
- page_title "Import members"
= render "header_title"
%h3.page-title
Import members from another project
......
- page_title "Members"
= render "header_title"
.project-members-page.prepend-top-default
- if can?(current_user, :admin_project_member, @project)
......
- page_title "Edit", @tag.name, "Tags"
= render "projects/commits/header_title"
= render "projects/commits/head"
.row-content-block
......
- header_title project_title(@project, "Snippets", namespace_project_snippets_path(@project.namespace, @project))
- page_title "Edit", @snippet.title, "Snippets"
= render "header_title"
%h3.page-title
Edit Snippet
......
- page_title "Snippets"
= render "header_title"
.row-content-block.top-block
.pull-right
......
- page_title "New Snippets"
= render "header_title"
%h3.page-title
New Snippet
......
- page_title @snippet.title, "Snippets"
= render "header_title"
.snippet-holder
= render 'shared/snippets/header'
......
- page_title "Tags"
= render "projects/commits/header_title"
= render "projects/commits/head"
.row-content-block
......
- page_title "New Tag"
= render "projects/commits/header_title"
- if @error
.alert.alert-danger
......
- page_title @tag.name, "Tags"
= render "projects/commits/header_title"
= render "projects/commits/head"
.row-content-block
......
- page_title @path.presence || "Files", @ref
- header_title project_title(@project, "Files", project_files_path(@project))
= content_for :meta_tags do
- if current_user
= auto_discovery_link_tag(:atom, namespace_project_commits_url(@project.namespace, @project, @ref, format: :atom, private_token: current_user.private_token), title: "#{@project.name}:#{@ref} commits")
......
- header_title project_title(@project, 'Wiki', get_project_wiki_path(@project))
- page_title "Edit", @page.title.capitalize, "Wiki"
= render "header_title"
= render 'nav'
.top-area
......
- page_title "Wiki"
= render "header_title"
%h3.page-title Empty page
%hr
......
- page_title "Git Access", "Wiki"
= render "header_title"
= render 'nav'
.row-content-block
......
- page_title "History", @page.title.capitalize, "Wiki"
= render "header_title"
= render 'nav'
.top-area
......
- page_title "Pages", "Wiki"
= render "header_title"
= render 'nav'
......
- page_title @page.title.capitalize, "Wiki"
= render "header_title"
= render 'nav'
.top-area
......
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