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-26 11:23:16 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-26 11:23:16 +0300
commite20dba0299c1395cc8862c44b0b3933266abe001 (patch)
treec882e2075fb46fdf09fa0a0d8402573e2d83de9d /app/views
parentb926b02332daeab5c9819e2512533a470e67e9ab (diff)
Redesign way how project avatar displayed on project page
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/_home_panel.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/_home_panel.html.haml b/app/views/projects/_home_panel.html.haml
index 05910c6038c..2ed49f83a7a 100644
--- a/app/views/projects/_home_panel.html.haml
+++ b/app/views/projects/_home_panel.html.haml
@@ -1,8 +1,9 @@
- empty_repo = @project.empty_repo?
.project-home-panel{:class => ("empty-project" if empty_repo)}
+ .project-identicon-holder
+ = project_icon(@project.to_param, alt: '', class: 'avatar')
.project-home-row
.project-home-desc
- = project_icon(@project.to_param, alt: '', class: 'avatar s32')
- if @project.description.present?
= escaped_autolink(@project.description)
- if can?(current_user, :admin_project, @project)