Remove default project icon
This commit is contained in:
parent
89f9ae77e2
commit
3588a07b83
3 changed files with 0 additions and 4 deletions
Binary file not shown.
Before Width: | Height: | Size: 3.3 KiB |
|
@ -56,8 +56,6 @@ module ApplicationHelper
|
||||||
image_tag project.avatar.url, options
|
image_tag project.avatar.url, options
|
||||||
elsif project.avatar_in_git
|
elsif project.avatar_in_git
|
||||||
image_tag project_avatar_path(project), options
|
image_tag project_avatar_path(project), options
|
||||||
elsif options[:only_uploaded]
|
|
||||||
image_tag '/assets/no_project_icon.png', options
|
|
||||||
else # generated icon
|
else # generated icon
|
||||||
project_identicon(project, options)
|
project_identicon(project, options)
|
||||||
end
|
end
|
||||||
|
|
|
@ -89,8 +89,6 @@
|
||||||
.col-sm-10
|
.col-sm-10
|
||||||
- if @project.avatar?
|
- if @project.avatar?
|
||||||
= project_icon(@project.to_param, alt: '', class: 'avatar s160')
|
= project_icon(@project.to_param, alt: '', class: 'avatar s160')
|
||||||
- else
|
|
||||||
= project_icon(@project.to_param, alt: '', class: 'avatar s160', only_uploaded: true)
|
|
||||||
%p.light
|
%p.light
|
||||||
- if @project.avatar_in_git
|
- if @project.avatar_in_git
|
||||||
Project avatar in repository: #{ @project.avatar_in_git }
|
Project avatar in repository: #{ @project.avatar_in_git }
|
||||||
|
|
Loading…
Reference in a new issue