Commit 888ae4f4 authored by Martin Wortschack's avatar Martin Wortschack

Merge branch 'add-missing-templates-title-translations' into 'master'

Internationalize templates titles

See merge request gitlab-org/gitlab!33271
parents 310511c7 11b22dee
- page_title "Appearance" - page_title _("Appearance")
- @content_class = "limit-container-width" unless fluid_layout - @content_class = "limit-container-width" unless fluid_layout
= render 'form' = render 'form'
- add_to_breadcrumbs "Applications", admin_applications_path - add_to_breadcrumbs _("Applications"), admin_applications_path
- breadcrumb_title @application.name - breadcrumb_title @application.name
- page_title "Edit", @application.name, "Applications" - page_title _("Edit"), @application.name, _("Applications")
%h3.page-title Edit application %h3.page-title Edit application
- @url = admin_application_path(@application) - @url = admin_application_path(@application)
......
- page_title "Applications" - page_title _("Applications")
%h3.page-title %h3.page-title
System OAuth applications System OAuth applications
%p.light %p.light
......
- breadcrumb_title "Applications" - breadcrumb_title _("Applications")
- page_title "New Application" - page_title _("New Application")
%h3.page-title New application %h3.page-title New application
- @url = admin_applications_path - @url = admin_applications_path
......
- page_title @application.name, "Applications" - page_title @application.name, _("Applications")
%h3.page-title %h3.page-title
Application: #{@application.name} Application: #{@application.name}
......
- page_title "Background Jobs" - page_title _("Background Jobs")
%h3.page-title Background Jobs %h3.page-title Background Jobs
%p.light GitLab uses #{link_to "sidekiq", "http://sidekiq.org/"} library for async job processing %p.light GitLab uses #{link_to "sidekiq", "http://sidekiq.org/"} library for async job processing
......
- breadcrumb_title "Messages" - breadcrumb_title _("Messages")
- page_title "Broadcast Messages" - page_title _("Broadcast Messages")
= render 'form' = render 'form'
- breadcrumb_title "Messages" - breadcrumb_title _("Messages")
- page_title "Broadcast Messages" - page_title _("Broadcast Messages")
%h3.page-title %h3.page-title
Broadcast Messages Broadcast Messages
......
- breadcrumb_title "Dashboard" - breadcrumb_title _("Dashboard")
- page_title _("Dashboard")
- if show_license_breakdown? - if show_license_breakdown?
= render_if_exists 'admin/licenses/breakdown', license: @license = render_if_exists 'admin/licenses/breakdown', license: @license
......
- page_title 'New Deploy Key' - page_title _('New Deploy Key')
%h3.page-title New public deploy key %h3.page-title New public deploy key
%hr %hr
......
- breadcrumb_title _("Gitaly Servers") - breadcrumb_title _("Gitaly Servers")
- page_title _("Gitaly Servers")
%h3.page-title= _("Gitaly Servers") %h3.page-title= _("Gitaly Servers")
%hr %hr
......
- page_title 'Request details' - page_title _('Request details')
%h3.page-title %h3.page-title
Request details Request details
......
- breadcrumb_title "Jobs" - breadcrumb_title _("Jobs")
- page_title _("Jobs")
.top-area.scrolling-tabs-container.inner-page-scroll-tabs .top-area.scrolling-tabs-container.inner-page-scroll-tabs
- build_path_proc = ->(scope) { admin_jobs_path(scope: scope) } - build_path_proc = ->(scope) { admin_jobs_path(scope: scope) }
......
- page_title @key.title, "Keys" - page_title @key.title, _("Keys")
= render "profiles/keys/key_details", admin: true = render "profiles/keys/key_details", admin: true
- add_to_breadcrumbs "Projects", admin_projects_path - add_to_breadcrumbs _("Projects"), admin_projects_path
- breadcrumb_title @project.full_name - breadcrumb_title @project.full_name
- page_title @project.full_name, "Projects" - page_title @project.full_name, _("Projects")
- @content_class = "admin-projects" - @content_class = "admin-projects"
%h3.page-title %h3.page-title
......
- page_title 'Requests Profiles' - page_title _('Requests Profiles')
%h3.page-title %h3.page-title
= page_title = page_title
......
- breadcrumb_title _('Runners') - breadcrumb_title _('Runners')
- page_title _('Runners')
.row .row
.col-sm-6 .col-sm-6
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
%span.runner-state.runner-state-specific %span.runner-state.runner-state-specific
Specific Specific
- page_title _("Runners")
- add_to_breadcrumbs _("Runners"), admin_runners_path - add_to_breadcrumbs _("Runners"), admin_runners_path
- breadcrumb_title "##{@runner.id}" - breadcrumb_title "##{@runner.id}"
......
- add_to_breadcrumbs "Service Templates", admin_application_settings_services_path - add_to_breadcrumbs _("Service Templates"), admin_application_settings_services_path
- page_title @service.title, _("Service Templates")
- breadcrumb_title @service.title - breadcrumb_title @service.title
- page_title @service.title, "Service Templates"
- @content_class = 'limit-container-width' unless fluid_layout - @content_class = 'limit-container-width' unless fluid_layout
= render 'form' = render 'form'
- page_title "Service Templates" - page_title _("Service Templates")
%h3.page-title Service templates %h3.page-title Service templates
%p.light= s_('AdminSettings|Service template allows you to set default values for integrations') %p.light= s_('AdminSettings|Service template allows you to set default values for integrations')
......
- page_title "Spam Logs" - page_title _("Spam Logs")
%h3.page-title Spam Logs %h3.page-title Spam Logs
%hr %hr
- if @spam_logs.present? - if @spam_logs.present?
......
- page_title "Edit", @user.name, "Users" - page_title _("Edit"), @user.name, _("Users")
%h3.page-title %h3.page-title
Edit user: #{@user.name} Edit user: #{@user.name}
%hr %hr
......
- page_title "Users" - page_title _("Users")
.top-area.scrolling-tabs-container.inner-page-scroll-tabs .top-area.scrolling-tabs-container.inner-page-scroll-tabs
.fade-left .fade-left
......
- add_to_breadcrumbs "Users", admin_users_path - add_to_breadcrumbs _("Users"), admin_users_path
- breadcrumb_title @user.name - breadcrumb_title @user.name
- page_title "SSH Keys", @user.name, "Users" - page_title _("SSH Keys"), @user.name, _("Users")
= render 'admin/users/head' = render 'admin/users/head'
= render 'profiles/keys/key_table', admin: true = render 'profiles/keys/key_table', admin: true
- page_title "New User" - page_title _("New User")
%h3.page-title %h3.page-title
New user New user
%hr %hr
......
- add_to_breadcrumbs "Users", admin_users_path - add_to_breadcrumbs _("Users"), admin_users_path
- breadcrumb_title @user.name - breadcrumb_title @user.name
- page_title "Groups and projects", @user.name, "Users" - page_title _("Groups and projects"), @user.name, _("Users")
= render 'admin/users/head' = render 'admin/users/head'
- if @user.groups.any? - if @user.groups.any?
......
- add_to_breadcrumbs "Users", admin_users_path - add_to_breadcrumbs _("Users"), admin_users_path
- breadcrumb_title @user.name - breadcrumb_title @user.name
- page_title @user.name, "Users" - page_title @user.name, _("Users")
= render 'admin/users/head' = render 'admin/users/head'
.row .row
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
= render_dashboard_gold_trial(current_user) = render_dashboard_gold_trial(current_user)
- page_title "Activity" - page_title _("Activity")
- header_title "Activity", activity_dashboard_path - header_title _("Activity"), activity_dashboard_path
= render "projects/last_push" = render "projects/last_push"
= render 'dashboard/activity_head' = render 'dashboard/activity_head'
......
- @hide_top_links = true - @hide_top_links = true
- page_title "Groups" - page_title _("Groups")
- header_title "Groups", dashboard_groups_path - header_title _("Groups"), dashboard_groups_path
= render_dashboard_gold_trial(current_user) = render_dashboard_gold_trial(current_user)
= render 'dashboard/groups_head' = render 'dashboard/groups_head'
......
- @hide_top_links = true - @hide_top_links = true
- page_title 'Milestones' - page_title _('Milestones')
- header_title 'Milestones', dashboard_milestones_path - header_title _('Milestones'), dashboard_milestones_path
.page-title-holder.d-flex.align-items-center .page-title-holder.d-flex.align-items-center
%h1.page-title= _('Milestones') %h1.page-title= _('Milestones')
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
= render_dashboard_gold_trial(current_user) = render_dashboard_gold_trial(current_user)
- page_title "Projects" - page_title _("Projects")
- header_title "Projects", dashboard_projects_path - header_title _("Projects"), dashboard_projects_path
= render "projects/last_push" = render "projects/last_push"
- if show_projects?(@projects, params) - if show_projects?(@projects, params)
......
- @hide_top_links = true - @hide_top_links = true
- page_title "Snippets" - page_title _("Snippets")
- header_title "Snippets", dashboard_snippets_path - header_title _("Snippets"), dashboard_snippets_path
- button_path = new_snippet_path if can?(current_user, :create_snippet) - button_path = new_snippet_path if can?(current_user, :create_snippet)
= render 'dashboard/snippets_head' = render 'dashboard/snippets_head'
......
- @hide_top_links = true - @hide_top_links = true
- page_title "To-Do List" - page_title _("To-Do List")
- header_title "To-Do List", dashboard_todos_path - header_title _("To-Do List"), dashboard_todos_path
= render_dashboard_gold_trial(current_user) = render_dashboard_gold_trial(current_user)
......
- page_title "Sign up" - page_title _("Sign up")
- if experiment_enabled?(:signup_flow) - if experiment_enabled?(:signup_flow)
.row .row
.col-lg-7 .col-lg-7
......
- page_title "Sign in" - page_title _("Sign in")
#signin-container #signin-container
- if any_form_based_providers_enabled? - if any_form_based_providers_enabled?
......
- @hide_top_links = true - @hide_top_links = true
- page_title "Snippets" - page_title _("Snippets")
- header_title "Snippets", snippets_path - header_title _("Snippets"), snippets_path
- if current_user - if current_user
= render 'dashboard/snippets_head' = render 'dashboard/snippets_head'
......
= content_for :meta_tags do = content_for :meta_tags do
= auto_discovery_link_tag(:atom, group_url(@group, rss_url_options), title: "#{@group.name} activity") = auto_discovery_link_tag(:atom, group_url(@group, rss_url_options), title: "#{@group.name} activity")
- page_title "Activity" - page_title _("Activity")
%section.activities %section.activities
= render 'activities' = render 'activities'
- breadcrumb_title _("General Settings") - breadcrumb_title _("General Settings")
- page_title _("General Settings")
- @content_class = "limit-container-width" unless fluid_layout - @content_class = "limit-container-width" unless fluid_layout
- expanded = expanded_by_default? - expanded = expanded_by_default?
......
- @can_bulk_update = can?(current_user, :admin_issue, @group) && @group.feature_available?(:group_bulk_edit) - @can_bulk_update = can?(current_user, :admin_issue, @group) && @group.feature_available?(:group_bulk_edit)
- page_title "Issues" - page_title _("Issues")
= content_for :meta_tags do = content_for :meta_tags do
= auto_discovery_link_tag(:atom, safe_params.merge(rss_url_options).to_h, title: "#{@group.name} issues") = auto_discovery_link_tag(:atom, safe_params.merge(rss_url_options).to_h, title: "#{@group.name} issues")
......
- add_to_breadcrumbs _("Labels"), group_labels_path(@group) - add_to_breadcrumbs _("Labels"), group_labels_path(@group)
- breadcrumb_title _("Edit") - breadcrumb_title _("Edit")
- page_title "Edit", @label.name, _("Labels") - page_title _("Edit"), @label.name, _("Labels")
%h3.page-title %h3.page-title
Edit Label Edit Label
......
- page_title 'Labels' - page_title _('Labels')
- can_admin_label = can?(current_user, :admin_label, @group) - can_admin_label = can?(current_user, :admin_label, @group)
- search = params[:search] - search = params[:search]
- subscribed = params[:subscribed] - subscribed = params[:subscribed]
......
- @can_bulk_update = can?(current_user, :admin_merge_request, @group) && @group.feature_available?(:group_bulk_edit) - @can_bulk_update = can?(current_user, :admin_merge_request, @group) && @group.feature_available?(:group_bulk_edit)
- page_title "Merge Requests" - page_title _("Merge Requests")
- if group_merge_requests_count(state: 'all').zero? - if group_merge_requests_count(state: 'all').zero?
= render 'shared/empty_states/merge_requests', project_select_button: true = render 'shared/empty_states/merge_requests', project_select_button: true
......
- page_title "Milestones" - page_title _("Milestones")
.top-area .top-area
= render 'shared/milestones_filter', counts: @milestone_states = render 'shared/milestones_filter', counts: @milestone_states
......
- breadcrumb_title "Projects" - breadcrumb_title _("Projects")
- page_title _("Projects")
.card.prepend-top-default .card.prepend-top-default
.card-header .card-header
......
- breadcrumb_title "CI / CD Settings" - breadcrumb_title _("CI / CD Settings")
- page_title "CI / CD" - page_title _("CI / CD")
- expanded = expanded_by_default? - expanded = expanded_by_default?
- general_expanded = @group.errors.empty? ? expanded : true - general_expanded = @group.errors.empty? ? expanded : true
......
- breadcrumb_title _("Details") - breadcrumb_title _("Details")
- page_title _("Groups")
- @content_class = "limit-container-width" unless fluid_layout - @content_class = "limit-container-width" unless fluid_layout
= content_for :meta_tags do = content_for :meta_tags do
......
- page_title 'Instance Configuration' - page_title _('Instance Configuration')
.documentation.md .documentation.md
%h1 Instance Configuration %h1 Instance Configuration
......
- page_title "UI Development Kit", "Help" - page_title _("UI Development Kit"), _("Help")
- lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed fermentum nisi sapien, non consequat lectus aliquam ultrices. Suspendisse sodales est euismod nunc condimentum, a consectetur diam ornare." - lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed fermentum nisi sapien, non consequat lectus aliquam ultrices. Suspendisse sodales est euismod nunc condimentum, a consectetur diam ornare."
- link_classes = "flex-grow-1 mx-1 " - link_classes = "flex-grow-1 mx-1 "
......
- @body_class = 'ide-layout' - @body_class = 'ide-layout'
- page_title 'IDE' - page_title _('IDE')
- content_for :page_specific_javascripts do - content_for :page_specific_javascripts do
= stylesheet_link_tag 'page_bundles/ide' = stylesheet_link_tag 'page_bundles/ide'
......
- title = _('Bitbucket Server Import') - title = _('Bitbucket Server Import')
- page_title title - page_title title
- breadcrumb_title title - breadcrumb_title title
- header_title "Projects", root_path - header_title _("Projects"), root_path
%h3.page-title %h3.page-title
= icon 'bitbucket-square', text: _('Import repositories from Bitbucket Server') = icon 'bitbucket-square', text: _('Import repositories from Bitbucket Server')
......
- page_title 'Bitbucket Server import' - page_title _('Bitbucket Server import')
- header_title 'Projects', root_path - header_title _('Projects'), root_path
%h3.page-title %h3.page-title
%i.fa.fa-bitbucket-square %i.fa.fa-bitbucket-square
......
- page_title "Manifest file import" - page_title _("Manifest file import")
- header_title "Projects", root_path - header_title _("Projects"), root_path
%h3.page-title %h3.page-title
= _('Manifest file import') = _('Manifest file import')
......
- page_title "Manifest import" - page_title _("Manifest import")
- header_title "Projects", root_path - header_title _("Projects"), root_path
- provider = 'manifest' - provider = 'manifest'
%h3.page-title %h3.page-title
......
- breadcrumb_title _("Cohorts") - breadcrumb_title _("Cohorts")
- page_title _("Cohorts")
- if @cohorts - if @cohorts
= render 'cohorts_table' = render 'cohorts_table'
......
- page_title _("Snippets")
- header_title _("Snippets"), snippets_path - header_title _("Snippets"), snippets_path
- snippets_upload_path = snippets_upload_path(@snippet, current_user) - snippets_upload_path = snippets_upload_path(@snippet, current_user)
......
- breadcrumb_title s_("Profiles|Edit Profile") - breadcrumb_title s_("Profiles|Edit Profile")
- page_title s_("Profiles|Edit Profile")
- @content_class = "limit-container-width" unless fluid_layout - @content_class = "limit-container-width" unless fluid_layout
- gravatar_link = link_to Gitlab.config.gravatar.host, 'https://' + Gitlab.config.gravatar.host - gravatar_link = link_to Gitlab.config.gravatar.host, 'https://' + Gitlab.config.gravatar.host
......
- breadcrumb_title _('Artifacts') - breadcrumb_title _('Artifacts')
- page_title @path.presence, 'Artifacts', "#{@build.name} (##{@build.id})", 'Jobs' - page_title @path.presence, _('Artifacts'), "#{@build.name} (##{@build.id})", _('Jobs')
= render "projects/jobs/header" = render "projects/jobs/header"
......
- page_title @path, 'Artifacts', "#{@build.name} (##{@build.id})", 'Jobs' - page_title @path, _('Artifacts'), "#{@build.name} (##{@build.id})", _('Jobs')
= render "projects/jobs/header" = render "projects/jobs/header"
......
- page_title "Blame", @blob.path, @ref - page_title _("Blame"), @blob.path, @ref
- link_icon = icon("link") - link_icon = icon("link")
#blob-content-holder.tree-holder #blob-content-holder.tree-holder
......
- breadcrumb_title "Repository" - breadcrumb_title _("Repository")
- page_title "Edit", @blob.path, @ref - page_title _("Edit"), @blob.path, @ref
- unless Feature.enabled?(:monaco_blobs) - unless Feature.enabled?(:monaco_blobs)
- content_for :page_specific_javascripts do - content_for :page_specific_javascripts do
= page_specific_javascript_tag('lib/ace.js') = page_specific_javascript_tag('lib/ace.js')
......
- breadcrumb_title "Repository" - breadcrumb_title _("Repository")
- page_title "New File", @path.presence, @ref - page_title _("New File"), @path.presence, @ref
- unless Feature.enabled?(:monaco_blobs) - unless Feature.enabled?(:monaco_blobs)
- content_for :page_specific_javascripts do - content_for :page_specific_javascripts do
= page_specific_javascript_tag('lib/ace.js') = page_specific_javascript_tag('lib/ace.js')
......
- page_title "New Branch" - page_title _("New Branch")
- default_ref = params[:ref] || @project.default_branch - default_ref = params[:ref] || @project.default_branch
- if @error - if @error
......
- breadcrumb_title "Compare Revisions" - breadcrumb_title _("Compare Revisions")
- page_title "Compare" - page_title _("Compare")
%h3.page-title %h3.page-title
= _("Compare Git revisions") = _("Compare Git revisions")
......
- page_title "Value Stream Analytics" - page_title _("Value Stream Analytics")
#cycle-analytics{ "v-cloak" => "true", data: { request_path: project_cycle_analytics_path(@project) } } #cycle-analytics{ "v-cloak" => "true", data: { request_path: project_cycle_analytics_path(@project) } }
- if @cycle_analytics_no_data - if @cycle_analytics_no_data
......
- page_title 'Edit Deploy Key' - page_title _('Edit Deploy Key')
%h3.page-title= _('Edit Deploy Key') %h3.page-title= _('Edit Deploy Key')
%hr %hr
......
- @content_class = "limit-container-width" unless fluid_layout - @content_class = "limit-container-width" unless fluid_layout
- breadcrumb_title _("Details") - breadcrumb_title _("Details")
- page_title _("Details")
= render partial: 'flash_messages', locals: { project: @project } = render partial: 'flash_messages', locals: { project: @project }
......
- page_title "Find File", @ref - page_title _("Find File"), @ref
.file-finder-holder.tree-holder.clearfix.js-file-finder{ 'data-file-find-url': "#{escape_javascript(project_files_path(@project, @ref, format: :json))}", 'data-find-tree-url': escape_javascript(project_tree_path(@project, @ref)), 'data-blob-url-template': escape_javascript(project_blob_path(@project, @id || @commit.id)) } .file-finder-holder.tree-holder.clearfix.js-file-finder{ 'data-file-find-url': "#{escape_javascript(project_files_path(@project, @ref, format: :json))}", 'data-find-tree-url': escape_javascript(project_tree_path(@project, @ref)), 'data-blob-url-template': escape_javascript(project_blob_path(@project, @id || @commit.id)) }
.nav-block .nav-block
......
- page_title "Import repository" - page_title _("Import repository")
%h3.page-title %h3.page-title
Import repository Import repository
......
- page_title "Edit", "#{@issue.title} (#{@issue.to_reference})", "Issues" - page_title _("Edit"), "#{@issue.title} (#{@issue.to_reference})", _("Issues")
%h3.page-title %h3.page-title
Edit Issue ##{@issue.iid} Edit Issue ##{@issue.iid}
......
- @can_bulk_update = can?(current_user, :admin_issue, @project) - @can_bulk_update = can?(current_user, :admin_issue, @project)
- page_title "Issues" - page_title _("Issues")
- new_issue_email = @project.new_issuable_address(current_user, 'issue') - new_issue_email = @project.new_issuable_address(current_user, 'issue')
= content_for :meta_tags do = content_for :meta_tags do
......
- page_title "Jobs" - page_title _("Jobs")
.top-area .top-area
- build_path_proc = ->(scope) { project_jobs_path(@project, scope: scope) } - build_path_proc = ->(scope) { project_jobs_path(@project, scope: scope) }
......
- add_to_breadcrumbs 'Jobs', project_jobs_path(@project) - add_to_breadcrumbs _('Jobs'), project_jobs_path(@project)
- add_to_breadcrumbs "##{@build.id}", project_job_path(@project, @build) - add_to_breadcrumbs "##{@build.id}", project_job_path(@project, @build)
- breadcrumb_title 'Terminal' - breadcrumb_title _('Terminal')
- page_title 'Terminal', "#{@build.name} (##{@build.id})", 'Jobs' - page_title _('Terminal'), "#{@build.name} (##{@build.id})", _('Jobs')
- content_for :page_specific_javascripts do - content_for :page_specific_javascripts do
= stylesheet_link_tag "xterm.css" = stylesheet_link_tag "xterm.css"
......
- add_to_breadcrumbs "Labels", project_labels_path(@project) - add_to_breadcrumbs _("Labels"), project_labels_path(@project)
- breadcrumb_title "Edit" - breadcrumb_title _("Edit")
- page_title "Edit", @label.name, "Labels" - page_title _("Edit"), @label.name, _("Labels")
%h3.page-title %h3.page-title
Edit Label Edit Label
......
- page_title "Labels" - page_title _("Labels")
- can_admin_label = can?(current_user, :admin_label, @project) - can_admin_label = can?(current_user, :admin_label, @project)
- search = params[:search] - search = params[:search]
- subscribed = params[:subscribed] - subscribed = params[:subscribed]
......
- add_to_breadcrumbs "Labels", project_labels_path(@project) - add_to_breadcrumbs _("Labels"), project_labels_path(@project)
- breadcrumb_title "New" - breadcrumb_title _("New")
- page_title "New Label" - page_title _("New Label")
%h3.page-title %h3.page-title
New Label New Label
......
- page_title "Merge Conflicts", "#{@merge_request.title} (#{@merge_request.to_reference}", "Merge Requests" - page_title _("Merge Conflicts"), "#{@merge_request.title} (#{@merge_request.to_reference}", _("Merge Requests")
- content_for :page_specific_javascripts do - content_for :page_specific_javascripts do
= page_specific_javascript_tag('lib/ace.js') = page_specific_javascript_tag('lib/ace.js')
= render "projects/merge_requests/mr_title" = render "projects/merge_requests/mr_title"
......
- add_to_breadcrumbs "Merge Requests", project_merge_requests_path(@project) - add_to_breadcrumbs _("Merge Requests"), project_merge_requests_path(@project)
- breadcrumb_title "New" - breadcrumb_title _("New")
- page_title "New Merge Request" - page_title _("New Merge Request")
- if @merge_request.can_be_created && !params[:change_branches] - if @merge_request.can_be_created && !params[:change_branches]
= render 'new_submit' = render 'new_submit'
......
- page_title "Edit", "#{@merge_request.title} (#{@merge_request.to_reference}", "Merge Requests" - page_title _("Edit"), "#{@merge_request.title} (#{@merge_request.to_reference}", _("Merge Requests")
%h3.page-title %h3.page-title
Edit Merge Request #{@merge_request.to_reference} Edit Merge Request #{@merge_request.to_reference}
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
- merge_project = merge_request_source_project_for_project(@project) - merge_project = merge_request_source_project_for_project(@project)
- new_merge_request_path = project_new_merge_request_path(merge_project) if merge_project - new_merge_request_path = project_new_merge_request_path(merge_project) if merge_project
- page_title "Merge Requests" - page_title _("Merge Requests")
- new_merge_request_email = @project.new_issuable_address(current_user, 'merge_request') - new_merge_request_email = @project.new_issuable_address(current_user, 'merge_request')
= render 'projects/last_push' = render 'projects/last_push'
......
- page_title "#{@merge_request.title} (#{@merge_request.to_reference}", "Merge Requests" - page_title "#{@merge_request.title} (#{@merge_request.to_reference}", _("Merge Requests")
.merge-request .merge-request
= render "projects/merge_requests/mr_title" = render "projects/merge_requests/mr_title"
......
- @gfm_form = true - @gfm_form = true
- @content_class = "limit-container-width" unless fluid_layout - @content_class = "limit-container-width" unless fluid_layout
- add_to_breadcrumbs "Merge Requests", project_merge_requests_path(@project) - add_to_breadcrumbs _("Merge Requests"), project_merge_requests_path(@project)
- breadcrumb_title @merge_request.to_reference - breadcrumb_title @merge_request.to_reference
- page_title "#{@merge_request.title} (#{@merge_request.to_reference})", "Merge Requests" - page_title "#{@merge_request.title} (#{@merge_request.to_reference})", _("Merge Requests")
- page_description @merge_request.description - page_description @merge_request.description
- page_card_attributes @merge_request.card_attributes - page_card_attributes @merge_request.card_attributes
- suggest_changes_help_path = help_page_path('user/discussions/index.md', anchor: 'suggest-changes') - suggest_changes_help_path = help_page_path('user/discussions/index.md', anchor: 'suggest-changes')
......
- breadcrumb_title "Graph" - breadcrumb_title _("Graph")
- page_title "Graph", @ref - page_title _("Graph"), @ref
= render "head" = render "head"
%div{ class: container_class } %div{ class: container_class }
.project-network .project-network
......
- breadcrumb_title _("Details") - breadcrumb_title _("Details")
- page_title _("Details")
%h2 %h2
%i.fa.fa-warning %i.fa.fa-warning
......
- page_title 'Pages' - page_title _('Pages')
- if @project.pages_enabled? - if @project.pages_enabled?
%h3.page-title.with-button %h3.page-title.with-button
......
- page_title @protected_ref.name, "Protected Branches" - page_title @protected_ref.name, _("Protected Branches")
.row.prepend-top-default.append-bottom-default .row.prepend-top-default.append-bottom-default
.col-lg-3 .col-lg-3
......
- page_title @protected_ref.name, "Protected Tags" - page_title @protected_ref.name, _("Protected Tags")
.row.prepend-top-default.append-bottom-default .row.prepend-top-default.append-bottom-default
.col-lg-3 .col-lg-3
......
- @content_class = "limit-container-width" unless fluid_layout - @content_class = "limit-container-width" unless fluid_layout
- breadcrumb_title 'Serverless' - breadcrumb_title _('Serverless')
- page_title 'Serverless' - page_title _('Serverless')
- status_path = project_serverless_functions_path(@project, format: :json) - status_path = project_serverless_functions_path(@project, format: :json)
- clusters_path = project_clusters_path(@project) - clusters_path = project_clusters_path(@project)
......
- breadcrumb_title _("Details") - breadcrumb_title _("Details")
- page_title _("Projects")
- @content_class = "limit-container-width" unless fluid_layout - @content_class = "limit-container-width" unless fluid_layout
= content_for :meta_tags do = content_for :meta_tags do
......
- add_to_breadcrumbs "Tags", project_tags_path(@project) - add_to_breadcrumbs _("Tags"), project_tags_path(@project)
- breadcrumb_title @tag.name - breadcrumb_title @tag.name
- page_title "Edit", @tag.name, "Tags" - page_title _("Edit"), @tag.name, _("Tags")
.sub-header-block.no-bottom-space .sub-header-block.no-bottom-space
.oneline .oneline
......
- page_title "Trigger" - page_title _("Trigger")
.row.prepend-top-default.append-bottom-default .row.prepend-top-default.append-bottom-default
.col-lg-12 .col-lg-12
......
- page_title "#{@runner.description} ##{@runner.id}", "Runners" - page_title "#{@runner.description} ##{@runner.id}", _("Runners")
%h3.page-title %h3.page-title
Runner ##{@runner.id} Runner ##{@runner.id}
......
- breadcrumb_title "Templates" - breadcrumb_title _("Templates")
- page_title "Templates" - page_title _("Templates")
- @content_class = "limit-container-width" unless fluid_layout - @content_class = "limit-container-width" unless fluid_layout
= render_if_exists 'admin/application_settings/templates', expanded: expanded_by_default? = render_if_exists 'admin/application_settings/templates', expanded: expanded_by_default?
......
- page_title 'Audit Log' - page_title _('Audit Log')
#js-audit-log-app{ data: { form_path: admin_audit_logs_path, #js-audit-log-app{ data: { form_path: admin_audit_logs_path,
events: @table_events.to_json, events: @table_events.to_json,
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
.gl-alert-body .gl-alert-body
= admin_emails_rate_limited_alert = admin_emails_rate_limited_alert
- page_title "Email Notification" - page_title _("Email Notification")
%h3.page-title %h3.page-title
= _('Send email notification') = _('Send email notification')
%p.light %p.light
......
- page_title 'Geo Nodes' - page_title _('Geo Nodes')
= render_enable_hashed_storage_warning = render_enable_hashed_storage_warning
= render_migrate_hashed_storage_warning = render_migrate_hashed_storage_warning
......
- page_title "Geo Settings" - page_title _("Geo Settings")
= render partial: 'admin/geo/shared/license_alert' = render partial: 'admin/geo/shared/license_alert'
- if Gitlab::Geo.license_allows? - if Gitlab::Geo.license_allows?
......
- page_title "Upload License" - page_title _("Upload License")
%h3.page-title Upload License %h3.page-title Upload License
%p.light %p.light
......
- page_title "Kerberos access denied" - page_title _("Kerberos access denied")
%h1 401 %h1 401
%h3 Kerberos authentication failed %h3 Kerberos authentication failed
%hr %hr
......
- page_title "Billing" - page_title _("Billing")
- current_plan = subscription_plan_info(@plans_data, @group.actual_plan_name) - current_plan = subscription_plan_info(@plans_data, @group.actual_plan_name)
- if @top_most_group - if @top_most_group
......
- page_title "Dependency Proxy" - page_title _("Dependency Proxy")
.settings-header .settings-header
%h4= _('Dependency proxy') %h4= _('Dependency proxy')
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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