Skip to content

Commit 90a5797

Browse files
authored
Replace author Edit button with new window link icon (#4856)
<!-- Thanks for contributing to Hypha! Please ensure your contributions pass all necessary linting/testing and that the appropriate documentation has been updated. --> <!-- Describe briefly what your pull request changes. If this is resolving an issue, please specify below via "Fixes #<Github Issue ID>" --> Addressing the conversation [here](#4380 (comment)). Making the link to the user's wagtail admin page a little less confusing now that the "Change Author" feature exists. Also made this open in a new tab. Feels a bit more intuitive *before* <img width="160" height="92" alt="Screenshot 2026-05-21 at 09 52 43" src="https://github.com/user-attachments/assets/164f4523-983a-4ee5-9ed2-8c7bbfab9de5" /> *after* <img width="160" height="92" alt="Screenshot 2026-05-21 at 09 51 55" src="https://github.com/user-attachments/assets/afa00bac-e232-464a-bd8c-2ae54e5970d5" />
1 parent 515dce8 commit 90a5797

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

hypha/apply/funds/templates/funds/includes/rendered_answers.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ <h3 class="pb-2 mb-2 font-medium border-b text-h3">
4848
{% if object|show_applicant_identity:request.user %}
4949
<div class="fieldset">
5050
<dt class="font-semibold">{% trans "Legal Name" %}</dt>
51-
<dd class="flex gap-2 items-center">
51+
<dd class="flex gap-1 items-center">
5252
{{ object.get_full_name_display }}
5353
{% if request.user.is_apply_staff %}
54-
<a class="link" href="{% url 'wagtailusers_users:edit' object.user_id %}">
55-
{% trans "Edit" %}
54+
<a class="link" title="{% trans 'Edit user account' %}" href="{% url 'wagtailusers_users:edit' object.user_id %}" target="_blank">
55+
{% heroicon_mini "arrow-top-right-on-square" class="inline align-text-bottom size-4" aria_hidden=true %}
5656
</a>
5757
{% endif %}
5858
</dd>

0 commit comments

Comments
 (0)