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 2024/05/28 16:19:31 UTC

(allura) branch master updated: fix username hover on ticket search results

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


The following commit(s) were added to refs/heads/master by this push:
     new 7321fb9b6 fix username hover on ticket search results
7321fb9b6 is described below

commit 7321fb9b62ec0bbebd25ec0c92caa8aafc114f61
Author: Dave Brondsema <db...@slashdotmedia.com>
AuthorDate: Tue May 28 12:19:12 2024 -0400

    fix username hover on ticket search results
---
 .../forgetracker/templates/tracker_widgets/ticket_search_results.html   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ForgeTracker/forgetracker/templates/tracker_widgets/ticket_search_results.html b/ForgeTracker/forgetracker/templates/tracker_widgets/ticket_search_results.html
index 308ac576c..da2b4ea36 100644
--- a/ForgeTracker/forgetracker/templates/tracker_widgets/ticket_search_results.html
+++ b/ForgeTracker/forgetracker/templates/tracker_widgets/ticket_search_results.html
@@ -67,7 +67,7 @@
                 <td class="{{t.open_or_closed}}">{{t.status}}</td>
               {% elif col['name'] == 'assigned_to' %}
                 <td>{% if t.assigned_to %}
-                      <a href="{{c.app.url}}search?q=assigned_to:%22{{h.urlquoteplus(t.assigned_to.username)}}%22" data-user-url="{{ t.assigned_to.url() }}" class="user-mention">{{t.assigned_to.display_name}}</a>
+                      <a href="{{c.app.url}}search?q=assigned_to:%22{{h.urlquoteplus(t.assigned_to.username)}}%22" data-user-url="{{ h.username_project_url(t.assigned_to) }}" class="user-mention">{{t.assigned_to.display_name}}</a>
                     {% endif %}</td>
               {% elif col['name'] == 'reported_by' %}
               <td>{% if t.reported_by %}{{t.reported_by.display_name}}{% endif %}</td>