You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2022/09/19 14:25:43 UTC

[allura] 01/02: dashboard: fix default user icon display

This is an automated email from the ASF dual-hosted git repository.

brondsem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git

commit 782e84e156d4825060da47500068b90a9cbef7f5
Author: Dave Brondsema <db...@slashdotmedia.com>
AuthorDate: Fri Sep 16 18:07:49 2022 -0400

    dashboard: fix default user icon display
---
 Allura/allura/ext/personal_dashboard/templates/dashboard_index.html | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Allura/allura/ext/personal_dashboard/templates/dashboard_index.html b/Allura/allura/ext/personal_dashboard/templates/dashboard_index.html
index 86919db05..ad9bb1bc6 100644
--- a/Allura/allura/ext/personal_dashboard/templates/dashboard_index.html
+++ b/Allura/allura/ext/personal_dashboard/templates/dashboard_index.html
@@ -33,8 +33,7 @@
 {% endblock %}
 
 {% block nav_menu %}
-    <img src='{{ user.icon_url() }}' alt="{{ user.display_name }}"
-         title="{{ user.display_name }}" class="emboss x48 project_icon">
+    {{lib.gravatar(user, size=48)}}
     <h1 class="project_title">
         {{ user.display_name }} / Dashboard
     </h1>