summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-07-06 09:02:52 +0100
committerPhil Hughes <me@iamphill.com>2016-07-06 09:02:52 +0100
commite486bbfd34bc962ddc6e7a0433a5b0cce74603a7 (patch)
tree209bb4143103df62e3d4916a8eaceeb3e6de7924
parent5fcf475bc62651909dc5ddffac508f407781b082 (diff)
downloadgitlab-ce-issues-blank-state.tar.gz
Fixed spellingissues-blank-state
Used variable for icon color
-rw-r--r--app/assets/stylesheets/framework/blank.scss13
-rw-r--r--app/views/projects/issues/index.html.haml6
2 files changed, 8 insertions, 11 deletions
diff --git a/app/assets/stylesheets/framework/blank.scss b/app/assets/stylesheets/framework/blank.scss
index 3e0ee4d66bd..d28cda6d62d 100644
--- a/app/assets/stylesheets/framework/blank.scss
+++ b/app/assets/stylesheets/framework/blank.scss
@@ -7,13 +7,6 @@
}
}
-.blank-state-welcome-title {
- margin-top: 0;
- margin-bottom: 5px;
- font-size: 24px;
- font-weight: normal;
-}
-
.blank-state {
padding-top: 20px;
padding-bottom: 20px;
@@ -29,7 +22,7 @@
padding-bottom: 20px;
path {
- fill: #ccc;
+ fill: $gray-darkest;
}
}
@@ -45,3 +38,7 @@
margin-bottom: $gl-padding;
font-size: 15px;
}
+
+.blank-state-welcome-title {
+ font-size: 24px;
+}
diff --git a/app/views/projects/issues/index.html.haml b/app/views/projects/issues/index.html.haml
index a4795cddf2a..312bd86ed04 100644
--- a/app/views/projects/issues/index.html.haml
+++ b/app/views/projects/issues/index.html.haml
@@ -26,7 +26,7 @@
= render "issues"
- else
.blank-state.blank-state-welcome
- %h2.blank-state-welcome-title
+ %h2.blank-state-title.blank-state-welcome-title
Welcome to GitLab Issues
%p.blank-state-text
Code, test, and deploy together
@@ -36,7 +36,7 @@
%h3.blank-state-title
You don't have any issues right now.
%p.blank-state-text
- Issues is the best way to track you project progress
+ Issues are the best way to track your project progress
- if can? current_user, :create_issue, @project
- = link_to new_namespace_project_issue_path(@project.namespace, @project, issue: { assignee_id: @issuable_finder.assignee.try(:id), milestone_id: @issuable_finder.milestones.try(:first).try(:id) }), class: "btn btn-new", title: "New Issue", id: "new_issue_link" do
+ = link_to new_namespace_project_issue_path(@project.namespace, @project), class: "btn btn-new", title: "New Issue", id: "new_issue_link" do
New Issue