summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorkushalpandya <kushal@gitlab.com>2017-07-07 23:00:14 +0530
committerkushalpandya <kushal@gitlab.com>2017-07-07 23:00:14 +0530
commit6384985f222f2289e3f7b782c644d3df3768a53b (patch)
tree10cb92d8b9adfa2d7aae39631e19b5da32234d90 /app/views
parent872508159794d1d64915324acf70cde27adfe36c (diff)
downloadgitlab-ce-6384985f222f2289e3f7b782c644d3df3768a53b.tar.gz
Fix missing `row` & `container` classes
Diffstat (limited to 'app/views')
-rw-r--r--app/views/dashboard/projects/_blank_state_welcome.html.haml6
-rw-r--r--app/views/dashboard/projects/_zero_authorized_projects.html.haml2
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/dashboard/projects/_blank_state_welcome.html.haml b/app/views/dashboard/projects/_blank_state_welcome.html.haml
index ab5763d0ee1..a079f0ac1a4 100644
--- a/app/views/dashboard/projects/_blank_state_welcome.html.haml
+++ b/app/views/dashboard/projects/_blank_state_welcome.html.haml
@@ -1,7 +1,7 @@
- public_project_count = ProjectsFinder.new(current_user: current_user).execute.count
- if current_user.can_create_group?
- .blank-state.clearfix
+ .row.blank-state.clearfix
.col-md-1.col-md-offset-3.blank-state-icon
= custom_icon("add_new_group", size: 50)
.col-md-5.blank-state-body
@@ -12,7 +12,7 @@
= link_to new_group_path, class: "btn btn-new" do
New group
-.blank-state.clearfix
+.row.blank-state.clearfix
.col-md-1.col-md-offset-3.blank-state-icon
= custom_icon("add_new_project", size: 50)
.col-md-5.blank-state-body
@@ -32,7 +32,7 @@
New project
- if public_project_count > 0
- .blank-state.clearfix
+ .row.blank-state.clearfix
.col-md-1.col-md-offset-3.blank-state-icon
= custom_icon("globe", size: 50)
.col-md-5.blank-state-body
diff --git a/app/views/dashboard/projects/_zero_authorized_projects.html.haml b/app/views/dashboard/projects/_zero_authorized_projects.html.haml
index 79a3bc00d29..94af033c1e3 100644
--- a/app/views/dashboard/projects/_zero_authorized_projects.html.haml
+++ b/app/views/dashboard/projects/_zero_authorized_projects.html.haml
@@ -1,6 +1,6 @@
.row.blank-state-parent-container
.section-container
- .section-body.section-welcome{ class: "#{ 'section-admin-welcome' if current_user.admin? }" }
+ .container.section-body.section-welcome{ class: "#{ 'section-admin-welcome' if current_user.admin? }" }
.blank-state.blank-state-welcome
%h2.blank-state-welcome-title
Welcome to GitLab