diff --git a/hypha/apply/dashboard/templates/dashboard/contracting_dashboard.html b/hypha/apply/dashboard/templates/dashboard/contracting_dashboard.html index b6299cbac39f2301a109d3547b111b517e5a96ce..f9e50d92a4fe71f4de63f13bc8d5a9cd4eeb974d 100644 --- a/hypha/apply/dashboard/templates/dashboard/contracting_dashboard.html +++ b/hypha/apply/dashboard/templates/dashboard/contracting_dashboard.html @@ -10,8 +10,8 @@ {% if perms.wagtailadmin.access_admin %} <a href="{% url 'wagtailadmin_home' %}" class="button button--primary"> - {% heroicon_mini "wrench-screwdriver" size=20 class="mr-1 inline align-text-bottom" %} - {% trans "Admin" %} + {% heroicon_solid "cog-6-tooth" size=20 class="me-1 inline align-text-bottom" aria_hidden=true %} + {% trans "Administration" %} </a> {% endif %} {% endadminbar %} diff --git a/hypha/apply/dashboard/templates/dashboard/finance_dashboard.html b/hypha/apply/dashboard/templates/dashboard/finance_dashboard.html index 68f49e594baf9ffac093e2a5500ea55a5da05c5c..d4d55f759a55e4a9ef4d3421b4365f9e966b936c 100644 --- a/hypha/apply/dashboard/templates/dashboard/finance_dashboard.html +++ b/hypha/apply/dashboard/templates/dashboard/finance_dashboard.html @@ -10,8 +10,8 @@ {% if perms.wagtailadmin.access_admin %} <a href="{% url 'wagtailadmin_home' %}" class="button button--primary"> - {% heroicon_mini "wrench-screwdriver" size=20 class="mr-1 inline align-text-bottom" %} - {% trans "Admin" %} + {% heroicon_solid "cog-6-tooth" size=20 class="me-1 inline align-text-bottom" aria_hidden=true %} + {% trans "Administration" %} </a> {% endif %} {% endadminbar %} diff --git a/hypha/apply/dashboard/templates/dashboard/staff_dashboard.html b/hypha/apply/dashboard/templates/dashboard/staff_dashboard.html index 517b4af328d6026a07f4631e7597149c11f80f9f..dea8429e5709aac11181d4fbb090f26d7e6582d7 100644 --- a/hypha/apply/dashboard/templates/dashboard/staff_dashboard.html +++ b/hypha/apply/dashboard/templates/dashboard/staff_dashboard.html @@ -15,8 +15,8 @@ {% if perms.wagtailadmin.access_admin %} <a href="{% url 'wagtailadmin_home' %}" id="wagtail-admin-button" class="button button--primary"> - {% heroicon_mini "wrench-screwdriver" size=20 class="mr-1 inline align-text-bottom" %} - {% trans "Admin" %} + {% heroicon_solid "cog-6-tooth" size=20 class="me-1 inline align-text-bottom" aria_hidden=true %} + {% trans "Administration" %} </a> {% endif %} {% endadminbar %} diff --git a/hypha/apply/users/templates/users/account.html b/hypha/apply/users/templates/users/account.html index b331d32e13d2b9c414d2cafbfe234bbcead06870..4b5ceb77d06d60fdfdf2d7bfc163a1b4c624eb9d 100644 --- a/hypha/apply/users/templates/users/account.html +++ b/hypha/apply/users/templates/users/account.html @@ -11,7 +11,7 @@ <span class="flex gap-4"> {% if user.can_access_dashboard %} <a href="{% url 'dashboard:dashboard' %}" class="button button--primary"> - {% heroicon_mini "squares-2x2" size=20 class="mr-1 inline align-text-bottom" %} + {% heroicon_mini "squares-2x2" size=20 class="me-1 inline align-text-bottom" aria_hidden=true %} {% trans "Go to my dashboard" %} </a> {% else %} @@ -28,8 +28,8 @@ {% endif %} {% if perms.wagtailadmin.access_admin %} <a href="{% url 'wagtailadmin_home' %}" id="wagtail-admin-button" class="button button--primary"> - {% heroicon_mini "wrench-screwdriver" size=20 class="mr-1 inline align-text-bottom" %} - {% trans "Admin" %} + {% heroicon_solid "cog-6-tooth" size=20 class="me-1 inline align-text-bottom" aria_hidden=true %} + {% trans "Administration" %} </a> {% endif %} </span> diff --git a/hypha/templates/includes/user_menu.html b/hypha/templates/includes/user_menu.html index 3ec7778b0a30d8457d4744996d5c0ede6e301557..d135f7df9ea7b7cd3f2a572dbf3f830ad9992121 100644 --- a/hypha/templates/includes/user_menu.html +++ b/hypha/templates/includes/user_menu.html @@ -53,16 +53,18 @@ {% heroicon_outline "flag" size=18 class="stroke-gray-500 inline group-hover:scale-110 group-hover:stroke-2 group-hover:stroke-dark-blue transition-transform" aria_hidden=true %} {% trans "My flagged" %} </a> - <a - href="{% url 'wagtailadmin_home' %}" - title="Goto wagtail admin" - class="px-3 py-2 text-black flex items-center gap-2 - focus-visible:outline-dashed outline-1 transition-colors border-x - hover:bg-slate-100 hover:text-dark-blue hover:font-semibold group" - > - {% heroicon_outline "cog-6-tooth" size=18 class="stroke-gray-500 inline group-hover:scale-110 group-hover:stroke-2 group-hover:stroke-dark-blue transition-transform" aria_hidden=true %} - {% trans "Administration" %} - </a> + {% if perms.wagtailadmin.access_admin %} + <a + href="{% url 'wagtailadmin_home' %}" + title="Goto wagtail admin" + class="px-3 py-2 text-black flex items-center gap-2 + focus-visible:outline-dashed outline-1 transition-colors border-x + hover:bg-slate-100 hover:text-dark-blue hover:font-semibold group" + > + {% heroicon_outline "cog-6-tooth" size=18 class="stroke-gray-500 inline group-hover:scale-110 group-hover:stroke-2 group-hover:stroke-dark-blue transition-transform" aria_hidden=true %} + {% trans "Administration" %} + </a> + {% endif %} {% endif %} <a href="{% url 'users:logout' %}"