diff --git a/kallithea/templates/admin/gists/edit.html b/kallithea/templates/admin/gists/edit.html --- a/kallithea/templates/admin/gists/edit.html +++ b/kallithea/templates/admin/gists/edit.html @@ -50,7 +50,7 @@ ${h.form(h.url('edit_gist', gist_id=c.gist.gist_access_id), method='post', id='eform')}
- gravatar + ${h.gravatar(c.authuser.email, size=32)}
diff --git a/kallithea/templates/admin/gists/show.html b/kallithea/templates/admin/gists/show.html --- a/kallithea/templates/admin/gists/show.html +++ b/kallithea/templates/admin/gists/show.html @@ -71,7 +71,7 @@
- gravatar + ${h.gravatar(h.email_or_none(c.file_changeset.author), size=16)}
${h.person(c.file_changeset.author)} - ${_('created')} ${h.age(c.file_changeset.date)}
diff --git a/kallithea/templates/admin/my_account/my_account.html b/kallithea/templates/admin/my_account/my_account.html --- a/kallithea/templates/admin/my_account/my_account.html +++ b/kallithea/templates/admin/my_account/my_account.html @@ -28,7 +28,7 @@
  • - gravatar + ${h.gravatar(c.user.email)}
    ${c.user.username} diff --git a/kallithea/templates/admin/my_account/my_account_emails.html b/kallithea/templates/admin/my_account/my_account_emails.html --- a/kallithea/templates/admin/my_account/my_account_emails.html +++ b/kallithea/templates/admin/my_account/my_account_emails.html @@ -1,7 +1,7 @@
    - + - + diff --git a/kallithea/templates/admin/repos/repo_edit_permissions.html b/kallithea/templates/admin/repos/repo_edit_permissions.html --- a/kallithea/templates/admin/repos/repo_edit_permissions.html +++ b/kallithea/templates/admin/repos/repo_edit_permissions.html @@ -30,7 +30,7 @@ ${h.form(url('edit_repo_perms_update', r diff --git a/kallithea/templates/admin/users/user_edit.html b/kallithea/templates/admin/users/user_edit.html --- a/kallithea/templates/admin/users/user_edit.html +++ b/kallithea/templates/admin/users/user_edit.html @@ -32,7 +32,7 @@
  • - gravatar + ${h.gravatar(c.user.email, size=26)}
    ${c.user.username} diff --git a/kallithea/templates/admin/users/user_edit_emails.html b/kallithea/templates/admin/users/user_edit_emails.html --- a/kallithea/templates/admin/users/user_edit_emails.html +++ b/kallithea/templates/admin/users/user_edit_emails.html @@ -1,7 +1,7 @@
  • gravatar
    ${h.gravatar(c.user.email, size=16)}
    ${_('Primary')} @@ -10,7 +10,7 @@ %if c.user_email_map: %for em in c.user_email_map:
    gravatar
    ${h.gravatar(em.email, size=16)}
    ${h.form(url('my_account_emails'),method='delete')} diff --git a/kallithea/templates/admin/my_account/my_account_profile.html b/kallithea/templates/admin/my_account/my_account_profile.html --- a/kallithea/templates/admin/my_account/my_account_profile.html +++ b/kallithea/templates/admin/my_account/my_account_profile.html @@ -3,7 +3,9 @@ ${h.form(url('my_account'), method='post
    -
    gravatar
    +
    + ${h.gravatar(c.user.email)} +

    %if c.visual.use_gravatar: ${_('Change your avatar at')} gravatar.com diff --git a/kallithea/templates/admin/notifications/notifications_data.html b/kallithea/templates/admin/notifications/notifications_data.html --- a/kallithea/templates/admin/notifications/notifications_data.html +++ b/kallithea/templates/admin/notifications/notifications_data.html @@ -10,7 +10,7 @@ unread = lambda n:{False:'unread'}.get(n

    - gravatar + ${h.gravatar(notification.notification.created_by_user.email, size=24)}
    ${notification.notification.description} diff --git a/kallithea/templates/admin/notifications/show_notification.html b/kallithea/templates/admin/notifications/show_notification.html --- a/kallithea/templates/admin/notifications/show_notification.html +++ b/kallithea/templates/admin/notifications/show_notification.html @@ -28,7 +28,7 @@
    - gravatar + ${h.gravatar(c.notification.created_by_user.email, size=24)}
    ${c.notification.description} diff --git a/kallithea/templates/admin/repo_groups/repo_group_edit_perms.html b/kallithea/templates/admin/repo_groups/repo_group_edit_perms.html --- a/kallithea/templates/admin/repo_groups/repo_group_edit_perms.html +++ b/kallithea/templates/admin/repo_groups/repo_group_edit_perms.html @@ -21,7 +21,7 @@ ${h.form(url('edit_repo_group_perms', gr
    ${h.radio('u_perm_%s' % r2p.user.username,'group.write')} ${h.radio('u_perm_%s' % r2p.user.username,'group.admin')} - + ${h.gravatar(r2p.user.email, cls="perm-gravatar", size=14)} %if h.HasPermissionAny('hg.admin')() and r2p.user.username != 'default': ${r2p.user.username} %else: @@ -41,7 +41,7 @@ ${h.form(url('edit_repo_group_perms', gr ${h.radio('u_perm_%s' % r2p.user.username,'group.write', disabled="disabled")} ${h.radio('u_perm_%s' % r2p.user.username,'group.admin', disabled="disabled")} - + ${h.gravatar(r2p.user.email, cls="perm-gravatar", size=14)/> ${r2p.user.username if r2p.user.username != 'default' else _('default')} ${_('delegated admin')}${h.radio('u_perm_%s' % r2p.user.username,'repository.write')} ${h.radio('u_perm_%s' % r2p.user.username,'repository.admin')} - + ${h.gravatar(r2p.user.email, size=14)} %if h.HasPermissionAny('hg.admin')() and r2p.user.username != 'default': ${r2p.user.username} %else: diff --git a/kallithea/templates/admin/user_groups/user_group_edit_members.html b/kallithea/templates/admin/user_groups/user_group_edit_members.html --- a/kallithea/templates/admin/user_groups/user_group_edit_members.html +++ b/kallithea/templates/admin/user_groups/user_group_edit_members.html @@ -4,7 +4,9 @@ %for user in c.group_members_obj:
  • -
    gravatar
    +
    + ${h.gravatar(user.email, size=24)} +
    ${h.link_to(user.username, h.url('edit_user',id=user.user_id))}
    ${user.full_name}
    diff --git a/kallithea/templates/admin/user_groups/user_group_edit_perms.html b/kallithea/templates/admin/user_groups/user_group_edit_perms.html --- a/kallithea/templates/admin/user_groups/user_group_edit_perms.html +++ b/kallithea/templates/admin/user_groups/user_group_edit_perms.html @@ -21,7 +21,7 @@ ${h.form(url('edit_user_group_perms', id
  • ${h.radio('u_perm_%s' % r2p.user.username,'usergroup.write')} ${h.radio('u_perm_%s' % r2p.user.username,'usergroup.admin')} - + ${h.gravatar(r2p.user.email, cls="perm-gravatar", size=14)} %if h.HasPermissionAny('hg.admin')() and r2p.user.username != 'default': ${r2p.user.username} %else: @@ -41,7 +41,7 @@ ${h.form(url('edit_user_group_perms', id ${h.radio('u_perm_%s' % r2p.user.username,'usergroup.write', disabled="disabled")} ${h.radio('u_perm_%s' % r2p.user.username,'usergroup.admin', disabled="disabled")} - + ${h.gravatar(r2p.user.email, cls="perm-gravatar", size=14)} ${r2p.user.username if r2p.user.username != 'default' else _('default')} ${_('delegated admin')}
    - + - +
    gravatar
    ${h.gravatar(c.user.email, size=16)}
    ${_('Primary')} @@ -10,7 +10,7 @@ %if c.user_email_map: %for em in c.user_email_map:
    gravatar
    ${h.gravatar(c.user.email, size=16)}
    ${h.form(url('edit_user_emails', id=c.user.user_id),method='delete')} diff --git a/kallithea/templates/admin/users/user_edit_profile.html b/kallithea/templates/admin/users/user_edit_profile.html --- a/kallithea/templates/admin/users/user_edit_profile.html +++ b/kallithea/templates/admin/users/user_edit_profile.html @@ -2,7 +2,7 @@ ${h.form(url('update_user', id=c.user.us - gravatar + ${h.gravatar(h.email_or_none(cs.author), size=16)} ${h.shorter(h.person(cs.author),22)} diff --git a/kallithea/templates/changeset/changeset.html b/kallithea/templates/changeset/changeset.html --- a/kallithea/templates/changeset/changeset.html +++ b/kallithea/templates/changeset/changeset.html @@ -111,7 +111,7 @@ ${self.repo_context_bar('changelog', c.c
    - gravatar + ${h.gravatar(h.email_or_none(c.changeset.author), size=20)}
    ${h.person(c.changeset.author,'username_and_name')} - ${h.age(c.changeset.date,True)} ${h.fmt_date(c.changeset.date)}
    ${h.email_or_none(c.changeset.author)}
    diff --git a/kallithea/templates/changeset/changeset_file_comment.html b/kallithea/templates/changeset/changeset_file_comment.html --- a/kallithea/templates/changeset/changeset_file_comment.html +++ b/kallithea/templates/changeset/changeset_file_comment.html @@ -7,7 +7,9 @@
    -
    +
    + ${h.gravatar(co.author.email, size=20)} +
    ${co.author.username}
    diff --git a/kallithea/templates/changeset/changeset_range.html b/kallithea/templates/changeset/changeset_range.html --- a/kallithea/templates/changeset/changeset_range.html +++ b/kallithea/templates/changeset/changeset_range.html @@ -42,7 +42,7 @@ ${self.repo_context_bar('changelog')} %for cnt,cs in enumerate(c.cs_ranges): - + @@ -83,7 +83,7 @@ ${self.repo_context_bar('changelog')}
    ${h.show_id(cs)}
    - gravatar + ${h.gravatar(h.email_or_none(cs.author), size=20)}
    diff --git a/kallithea/templates/compare/compare_cs.html b/kallithea/templates/compare/compare_cs.html --- a/kallithea/templates/compare/compare_cs.html +++ b/kallithea/templates/compare/compare_cs.html @@ -37,7 +37,7 @@ %endif
    - +
    gravatar
    ${h.gravatar(h.email_or_none(cs.author), size=14)}
    ${h.link_to('r%s:%s' % (cs.revision,h.short_id(cs.raw_id)),h.url('changeset_home',repo_name=c.cs_repo.repo_name,revision=cs.raw_id))}
    ${h.person(cs.author)}
    ${cs.date}${cs.date}
    gravatar
    ${h.gravatar(h.email_or_none(cs.author), size=14)}
    ${h.person(cs.author)}
    ${h.link_to(h.show_id(cs),h.url('changeset_home',repo_name=c.cs_repo.repo_name,revision=cs.raw_id))} diff --git a/kallithea/templates/data_table/_dt_elements.html b/kallithea/templates/data_table/_dt_elements.html --- a/kallithea/templates/data_table/_dt_elements.html +++ b/kallithea/templates/data_table/_dt_elements.html @@ -123,7 +123,7 @@ <%def name="user_gravatar(email, size=24)"> -
    gravatar
    +
    ${h.gravatar(email, size=size)}
    <%def name="repo_actions(repo_name, super_user=True)"> diff --git a/kallithea/templates/files/files_history_box.html b/kallithea/templates/files/files_history_box.html --- a/kallithea/templates/files/files_history_box.html +++ b/kallithea/templates/files/files_history_box.html @@ -2,7 +2,9 @@
    ${h.literal(ungettext(u'%s author',u'%s authors',len(c.authors)) % ('%s' % len(c.authors))) }
    %for email, user in c.authors:
    -
    gravatar
    +
    + ${h.gravatar(email, size=20)} +
    %endfor diff --git a/kallithea/templates/files/files_source.html b/kallithea/templates/files/files_source.html --- a/kallithea/templates/files/files_source.html +++ b/kallithea/templates/files/files_source.html @@ -49,7 +49,7 @@
    - gravatar + ${h.gravatar(h.email_or_none(c.file_changeset.author), size=16)}
    ${h.person(c.file_changeset.author)}
    diff --git a/kallithea/templates/followers/followers_data.html b/kallithea/templates/followers/followers_data.html --- a/kallithea/templates/followers/followers_data.html +++ b/kallithea/templates/followers/followers_data.html @@ -4,7 +4,7 @@
    - gravatar + ${h.gravatar(f.user.email, size=24)}
    ${f.user.username} (${f.user.name} ${f.user.lastname})
    diff --git a/kallithea/templates/forks/forks_data.html b/kallithea/templates/forks/forks_data.html --- a/kallithea/templates/forks/forks_data.html +++ b/kallithea/templates/forks/forks_data.html @@ -5,7 +5,7 @@
    - gravatar + ${h.gravatar(f.user.email, size=24)}
    ${f.user.username} (${f.user.name} ${f.user.lastname}) / diff --git a/kallithea/templates/journal/journal_data.html b/kallithea/templates/journal/journal_data.html --- a/kallithea/templates/journal/journal_data.html +++ b/kallithea/templates/journal/journal_data.html @@ -6,10 +6,10 @@ % for user,entries in items:
    - gravatar + ${h.gravatar(user.email if user else 'anonymous@kallithea-scm.org', size=24)}
    %if user: -
    ${user.name} ${user.lastname}
    +
    ${user.name} ${user.lastname}
    %else:
    ${entries[0].username}
    %endif diff --git a/kallithea/templates/pullrequests/pullrequest_show.html b/kallithea/templates/pullrequests/pullrequest_show.html --- a/kallithea/templates/pullrequests/pullrequest_show.html +++ b/kallithea/templates/pullrequests/pullrequest_show.html @@ -158,7 +158,7 @@ ${self.repo_context_bar('showpullrequest
    - gravatar + ${h.gravatar(c.pull_request.author.email, size=20)}
    ${c.pull_request.author.username_and_name}
    ${c.pull_request.author.email}
    @@ -219,7 +219,9 @@ ${self.repo_context_bar('showpullrequest
    -
    gravatar
    +
    + ${h.gravatar(member.email, size=14)} +
    ${member.full_name} (${_('owner') if c.pull_request.user_id == member.user_id else _('reviewer')})
    %if editable: diff --git a/kallithea/templates/search/search_commit.html b/kallithea/templates/search/search_commit.html --- a/kallithea/templates/search/search_commit.html +++ b/kallithea/templates/search/search_commit.html @@ -13,7 +13,7 @@
    - gravatar + ${h.gravatar(h.email_or_none(sr['author']), size=20)}
    ${h.person(sr['author'])}
    ${h.email_or_none(sr['author'])}
    diff --git a/kallithea/templates/summary/summary.html b/kallithea/templates/summary/summary.html --- a/kallithea/templates/summary/summary.html +++ b/kallithea/templates/summary/summary.html @@ -141,7 +141,7 @@ summary = lambda n:{False:'summary-short ${c.db_repo.user.username}
    - gravatar + ${h.gravatar(c.db_repo.user.email, size=18)}