mirror of https://github.com/zulip/zulip.git
Display the user's gravatar to them in the settings panel.
Previously, we were trying to expand a variable which wasn't defined. We correct that here. Furthermore, we don't right-align the gravatar if its being shown in the settings panel by removing the "profile_picture" class. (imported from commit 1ae09d1a44aca87962f971af82393bf4ece6d16c)
This commit is contained in:
parent
911f4306db
commit
ce4d3f6d52
|
@ -8,7 +8,7 @@
|
|||
<b>{{ user_profile.user.email }}</b> <a href="/settings/change-email">(change?)</a><br /><br />
|
||||
<div id="Photo">
|
||||
<label>Photo</label>
|
||||
<img class="profile_picture" src="https://secure.gravatar.com/avatar/{{gravatar_hash}}?d=identicon&s=30"/>
|
||||
<img src="https://secure.gravatar.com/avatar/{{ email_hash }}?d=identicon&s=30"/>
|
||||
<a href="http://gravatar.com">(change at Gravatar.com)</a>
|
||||
<br />
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue