You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2021/06/08 21:07:14 UTC

[airavata-django-portal] 02/04: AIRAVATA-3455 Add link to user profile editor in header

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

machristie pushed a commit to branch AIRAVATA-3319-handle-missing-name-and-email-attributes-from-cilo
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git

commit 6d42717a5abc3385365f2eb3b8685cd09e7a17ae
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Tue Jun 8 16:21:02 2021 -0400

    AIRAVATA-3455 Add link to user profile editor in header
---
 django_airavata/templates/base.html | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/django_airavata/templates/base.html b/django_airavata/templates/base.html
index 23c6794..7ff6538 100644
--- a/django_airavata/templates/base.html
+++ b/django_airavata/templates/base.html
@@ -206,7 +206,10 @@
             {{ request.user.first_name }} {{ request.user.last_name }}
           </a>
           <div class=dropdown-menu aria-labelledby=dropdownMenuButton>
-            {% comment %} <a class=dropdown-item href=#>User settings</a> {% endcomment %}
+            <a class=dropdown-item href="{% url 'django_airavata_auth:user_profile' %}">
+              User Settings
+              <i class="fa fa-user-cog"></i>
+            </a>
             <a class=dropdown-item href="{% url 'django_airavata_auth:logout' %}">
               Logout <i class="fa fa-sign-out-alt"></i>
             </a>