mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-20 01:56:06 +10:00
Merge branch 'remove-default-project-icon' into 'master'
Remove default project icon See merge request !1434
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 3.3 KiB |
@@ -56,8 +56,6 @@ module ApplicationHelper
|
||||
image_tag project.avatar.url, options
|
||||
elsif project.avatar_in_git
|
||||
image_tag project_avatar_path(project), options
|
||||
elsif options[:only_uploaded]
|
||||
image_tag '/assets/no_project_icon.png', options
|
||||
else # generated icon
|
||||
project_identicon(project, options)
|
||||
end
|
||||
|
||||
@@ -89,8 +89,6 @@
|
||||
.col-sm-10
|
||||
- if @project.avatar?
|
||||
= project_icon(@project.to_param, alt: '', class: 'avatar s160')
|
||||
- else
|
||||
= project_icon(@project.to_param, alt: '', class: 'avatar s160', only_uploaded: true)
|
||||
%p.light
|
||||
- if @project.avatar_in_git
|
||||
Project avatar in repository: #{ @project.avatar_in_git }
|
||||
|
||||
Reference in New Issue
Block a user