changeset 9359a26aa22c in bugs.tryton.org:default
details: https://hg.tryton.org/bugs.tryton.org?cmd=changeset;node=9359a26aa22c
description:
        Use smaller gravatar for bot
diffstat:

 html/issue.item.html |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r bab4d38a25fc -r 9359a26aa22c html/issue.item.html
--- a/html/issue.item.html      Tue Jan 19 12:42:09 2021 +0100
+++ b/html/issue.item.html      Wed Jan 20 23:51:58 2021 +0100
@@ -113,7 +113,7 @@
       </div>
       {% endif %}
       <div class="d-flex {{ 'bot' if msg.author.username in bots }}">
-        <img src="{{ utils.gravatar(msg.author.address._value, size=45) }}" 
class="align-self-start rounded-circle m-1">
+        <img src="{{ utils.gravatar(msg.author.address._value, size=25 if 
msg.author.username in bots else 45) }}" class="align-self-start rounded-circle 
m-1">
       {% if msg.type == 'text/markdown' %}
         <div class="msg flex-fill">{{ 
utils.codereview_replace(utils.mercurial_replace(msg.content.markdown()))|u|safe
 }}</div>
       {% elif msg.type == 'text/x-rst' %}

Reply via email to