fix(changeset): fixed incosistent behaviour of rendering gravatars in commit view. Fixes RCCE-25
This commit is contained in:
parent
96ccf8cc71
commit
8048eb5a1e
1 changed files with 7 additions and 1 deletions
|
|
@ -36,7 +36,12 @@
|
|||
rc_user = h.discover_user(c.commit.author_email)
|
||||
%>
|
||||
<div class="left-content-avatar">
|
||||
${base.gravatar(c.commit.author_email, 30, tooltip=(True if rc_user else False), user=rc_user)}
|
||||
<%
|
||||
email = h.email_or_none(c.commit.author)
|
||||
rc_user = h.discover_user(c.commit.author)
|
||||
%>
|
||||
${base.gravatar(email, 30, tooltip=(True if rc_user else False), user=rc_user)}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="left-content-message">
|
||||
|
|
@ -45,6 +50,7 @@
|
|||
</div>
|
||||
|
||||
<div class="fieldset collapsable-content" data-toggle="summary-details" style="display: none">
|
||||
|
||||
<div class="commit">${h.urlify_commit_message(c.commit.message,c.repo_name)}</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue