Defect #44127 » 0001-Replace-group-avatar-icon-with-SVG.patch
| app/assets/images/group.svg | ||
|---|---|---|
|
<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="#343a40" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-users-group">
|
||
|
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
||
|
<path d="M10 13a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" />
|
||
|
<path d="M8 21v-1a2 2 0 0 1 2 -2h4a2 2 0 0 1 2 2v1" />
|
||
|
<path d="M15 5a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" />
|
||
|
<path d="M17 10h2a2 2 0 0 1 2 2v1" />
|
||
|
<path d="M5 5a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" />
|
||
|
<path d="M3 13v-1a2 2 0 0 1 2 -2h2" />
|
||
|
</svg>
|
||
| app/helpers/avatars_helper.rb | ||
|---|---|---|
|
def group_avatar(options={})
|
||
|
options[:class] = ['group-avatar', options[:class]].compact.join(' ')
|
||
|
image_tag 'group.png', GravatarHelper::DEFAULT_OPTIONS.except(:default, :rating, :ssl).merge(options)
|
||
|
image_tag 'group.svg', GravatarHelper::DEFAULT_OPTIONS.except(:default, :rating, :ssl).merge(options)
|
||
|
end
|
||
|
private
|
||
- « Previous
- 1
- 2
- 3
- Next »