Commit b1c1d16d authored by Phil Hughes's avatar Phil Hughes

Merge branch '59873-page-title' into 'master'

Fixes stylelint for page_title.scss

Closes #59873

See merge request gitlab-org/gitlab-ce!27315
parents c32b2d3d 6e99ed5d
.page-title-holder { .page-title-holder {
@extend .d-flex;
@extend .align-items-center;
border-bottom: 1px solid $border-color; border-bottom: 1px solid $border-color;
.page-title { .page-title {
......
.page-title-holder .page-title-holder.d-flex.align-items-center
%h1.page-title= _('Activity') %h1.page-title= _('Activity')
.top-area .top-area
......
.page-title-holder .page-title-holder.d-flex.align-items-center
%h1.page-title= _('Groups') %h1.page-title= _('Groups')
- if current_user.can_create_group? - if current_user.can_create_group?
......
= content_for :flash_message do = content_for :flash_message do
= render 'shared/project_limit' = render 'shared/project_limit'
.page-title-holder .page-title-holder.d-flex.align-items-center
%h1.page-title= _('Projects') %h1.page-title= _('Projects')
- if current_user.can_create_project? - if current_user.can_create_project?
......
.page-title-holder .page-title-holder.d-flex.align-items-center
%h1.page-title= _('Snippets') %h1.page-title= _('Snippets')
- if current_user && current_user.snippets.any? || @snippets.any? - if current_user && current_user.snippets.any? || @snippets.any?
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
= render_dashboard_gold_trial(current_user) = render_dashboard_gold_trial(current_user)
.page-title-holder .page-title-holder.d-flex.align-items-center
%h1.page-title= _('Issues') %h1.page-title= _('Issues')
- if current_user - if current_user
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
= render_dashboard_gold_trial(current_user) = render_dashboard_gold_trial(current_user)
.page-title-holder .page-title-holder.d-flex.align-items-center
%h1.page-title= _('Merge Requests') %h1.page-title= _('Merge Requests')
- if current_user - if current_user
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
- page_title 'Milestones' - page_title 'Milestones'
- header_title 'Milestones', dashboard_milestones_path - header_title 'Milestones', dashboard_milestones_path
.page-title-holder .page-title-holder.d-flex.align-items-center
%h1.page-title= _('Milestones') %h1.page-title= _('Milestones')
- if current_user - if current_user
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
= render_dashboard_gold_trial(current_user) = render_dashboard_gold_trial(current_user)
.page-title-holder .page-title-holder.d-flex.align-items-center
%h1.page-title= _('Todos') %h1.page-title= _('Todos')
- if current_user.todos.any? - if current_user.todos.any?
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
- page_title _('New Group') - page_title _('New Group')
- header_title _("Groups"), dashboard_groups_path - header_title _("Groups"), dashboard_groups_path
.page-title-holder .page-title-holder.d-flex.align-items-center
%h1.page-title= _('New group') %h1.page-title= _('New group')
.row.prepend-top-default .row.prepend-top-default
.col-lg-3.profile-settings-sidebar .col-lg-3.profile-settings-sidebar
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
- @hide_breadcrumbs = true - @hide_breadcrumbs = true
- page_title _("New Snippet") - page_title _("New Snippet")
.page-title-holder .page-title-holder.d-flex.align-items-center
%h1.page-title= _('New Snippet') %h1.page-title= _('New Snippet')
.prepend-top-default .prepend-top-default
......
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