mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-20 09:22:49 +03:00
cae5adc6ed
- Admin used a helper to generate Gravatar URLs for members - This change switches to using the `avatar_image` returned by the Member API - The helper predates the existence of `member.avatar_image`, and is no longer required
7 lines
430 B
Handlebars
7 lines
430 B
Handlebars
<figure class="gh-member-gravatar {{@containerClass}}">
|
|
<div class="gh-member-initials flex items-center justify-center br-100 {{@containerClass}}" style={{this.backgroundStyle}}>
|
|
<span class="gh-member-avatar-label {{or @sizeClass "gh-member-list-avatar"}}">{{this.initials}}</span>
|
|
</div>
|
|
<img class="gh-member-avatar-image" src="{{@member.avatarImage}}" alt="{{or @member.name @member.email}}" />
|
|
</figure>
|