closed tickets are not strike-through in timeline

11 views
Skip to first unread message

Clemens Feige

unread,
Apr 14, 2020, 4:55:32 AM4/14/20
to Trac Users
Hello

Links to closed tickets are not printed strike-through in the timeline
time line view.

Well, it is just a small cosmetic issue. But now I cannot tell our users
that closed tickets are always strike-through.

Is there any reason for why the timeline is an exception?
Otherwise I would open a ticket.

Clemens

P.S.

Some internals ...

TRAC 1.2.5

The background seems to be HTML/CSS. Usually the ticket number itself is
an HTML <a> link tag and it does have "ticket closed" CSS class:

<a class="closed ticket"
href="/demo-1.2/ticket/1" title="#1: task: test (closed: fixed)">#1
</a>

But not in the timeline where the entire line is a <a> tag and the
ticket number is just an <em>:

<a href="/demo-1.2/ticket/772#comment:1">
<span class="time">22:23</span>
Ticket
<em title="enhancement: bla (closed: fixed)">
#772
</em>
(bla)
</span> </a>

it should better be:

<a href="/demo-1.2/ticket/772#comment:1">
<span class="time">22:23</span>
Ticket
<em title="enhancement: bla (closed: fixed)">
<span class="ticket closed">#772</span> <<<<<< FIX !!!
</em>
(bla)
</span> </a>

RjOllos

unread,
Apr 14, 2020, 2:37:26 PM4/14/20
to Trac Users
There's a very old ticket for the issue. We should take a look at it again. Similar issue for search results, which I remember trying to fix at one time, but it was much more difficult than I expected.

- Ryan
Reply all
Reply to author
Forward
0 new messages