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/views
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-25 09:03:30 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-25 09:03:30 +0300
commitb92449c73e3b80a85144de08e0062c74cb37e80d (patch)
tree441cbfe78e5d228d47e84fb764f13be0d7a970a7 /app/views
parent70c44a0da2bdeead90a99fe79e7c047d38b8ca5c (diff)
Predefine colors for project identicons
Diffstat (limited to 'app/views')
-rw-r--r--app/views/dashboard/_project.html.haml4
-rw-r--r--app/views/groups/_projects.html.haml4
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/dashboard/_project.html.haml b/app/views/dashboard/_project.html.haml
index 7f19fb5a81c..76b95264fd8 100644
--- a/app/views/dashboard/_project.html.haml
+++ b/app/views/dashboard/_project.html.haml
@@ -1,8 +1,8 @@
= link_to project_path(project), class: dom_class(project) do
- .dash-project-avatar
- = project_icon(project.to_param, alt: '', class: 'avatar s24')
.dash-project-access-icon
= visibility_level_icon(project.visibility_level)
+ .dash-project-avatar
+ = project_icon(project.to_param, alt: '', class: 'avatar s24')
%span.str-truncated
%span.namespace-name
- if project.namespace
diff --git a/app/views/groups/_projects.html.haml b/app/views/groups/_projects.html.haml
index 2716ebf326b..34221595fd7 100644
--- a/app/views/groups/_projects.html.haml
+++ b/app/views/groups/_projects.html.haml
@@ -12,10 +12,10 @@
- projects.each do |project|
%li.project-row
= link_to project_path(project), class: dom_class(project) do
- .dash-project-avatar
- = project_icon(project.to_param, alt: '', class: 'avatar s24')
.dash-project-access-icon
= visibility_level_icon(project.visibility_level)
+ .dash-project-avatar
+ = project_icon(project.to_param, alt: '', class: 'avatar s24')
%span.str-truncated
%span.project-name
= project.name