Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-18 08:25:06 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-18 08:25:06 +0300
commit19eb86388ace19688f1ea0f0200208b92673f0a0 (patch)
tree529cf0f487d4f31abd618346ed2bfd06d26c8f34 /app
parentfe2b98ab0bee618aa2af25f5fed53780997d9cd2 (diff)
parent0bd02e96a078d7b4674c21336d48ea808451da7c (diff)
Merge branch 'master' of github.com:gitlabhq/gitlabhq
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/sections/dashboard.scss9
-rw-r--r--app/views/dashboard/_groups.html.haml2
2 files changed, 10 insertions, 1 deletions
diff --git a/app/assets/stylesheets/sections/dashboard.scss b/app/assets/stylesheets/sections/dashboard.scss
index 77d403cc687..feb9a4ad295 100644
--- a/app/assets/stylesheets/sections/dashboard.scss
+++ b/app/assets/stylesheets/sections/dashboard.scss
@@ -120,6 +120,15 @@
}
}
+.dash-new-group {
+ background: $bg_success;
+ border: 1px solid $border_success;
+
+ a {
+ color: #FFF;
+ }
+}
+
.dash-list .str-truncated {
max-width: 72%;
}
diff --git a/app/views/dashboard/_groups.html.haml b/app/views/dashboard/_groups.html.haml
index ddf44270802..e3df43d8892 100644
--- a/app/views/dashboard/_groups.html.haml
+++ b/app/views/dashboard/_groups.html.haml
@@ -3,7 +3,7 @@
.input-group
= search_field_tag :filter_group, nil, placeholder: 'Filter by name', class: 'dash-filter form-control'
- if current_user.can_create_group?
- .input-group-addon
+ .input-group-addon.dash-new-group
= link_to new_group_path, class: "" do
%strong New group
%ul.well-list.dash-list