#10349 closed defect (fixed)
"Total" element on primary Version progress bar is not a link.
Reported by: | Grayside | Owned by: | benkovsk |
---|---|---|---|
Priority: | low | Component: | ExtendedVersionPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description
The progress bar at the top of the extended version view page has a plain text number for the total issues, rather than a clickable link. It is very quickly noticeable even if it's not always used.
Attachments (1)
Change History (8)
comment:1 Changed 12 years ago by
Owner: | changed from Malcolm Studd to Ryan J Ollos |
---|---|
Status: | new → assigned |
Changed 9 years ago by
Attachment: | 02-linkify_version_ticket_count.diff added |
---|
comment:2 follow-up: 5 Changed 9 years ago by
See attached patch that
- makes the total count clickable, linking to a query selecting tickets of all comprising milestones
- fixes version resource link in ticket queries
comment:4 Changed 9 years ago by
Owner: | changed from Ryan J Ollos to benkovsk |
---|
comment:5 Changed 9 years ago by
Replying to benkovsk:
- fixes version resource link in ticket queries
I didn't see any affect of this change. It would be nice if the version entries in the query results linked to the version page, but the template would need to be modified: browser:/tags/trac-1.0.9/trac/ticket/templates/query_results.html@:93#L82.
If I'm overlooking something, would you mind creating a new ticket with more details? Thanks!
comment:6 Changed 9 years ago by
Oh, you are right. It needs to have this applied to Trac itself. I will create a ticket or patch later.
-
trac/ticket/templates/query_results.html
diff --git a/trac/ticket/templates/query_results.html b/trac/ticket/templates/query_results.html index af850ec..5f91e2b 100644
a b Arguments: 91 91 <py:when test="name == 'cc'">${format_emails(ticket_context, value)}</py:when> 92 92 <py:when test="name == 'owner' and value">${authorinfo(value)}</py:when> 93 93 <py:when test="name == 'milestone'" py:if="value">${resource_link(context, Resource('milestone', value), 'compact')}</py:when> 94 <py:when test="name == 'version'" py:if="value">${resource_link(context, Resource('version', value), 'compact')}</py:when> 94 95 <py:when test="header.wikify">${wiki_to_oneliner(ticket_context, value)}</py:when> 95 96 <py:when test="header.wikifyblock">${wiki_to_html(ticket_context, value)}</py:when> 96 97 <py:otherwise>$value</py:otherwise>
comment:7 Changed 9 years ago by
The template would need to be modified in an ITemplateStreamFilter
. It may not be worth the effort when we could instead focus on implementing trac:#1233 (see trac:comment:24:ticket:1233).
Thank you for the report.