Issue closed not strikethru'ed (with patch)
I was thinking closed issues should be stikethru'ed, so I went to implement this and found the code already there!
The problem is simply the default application.css has issue.closed instead of issue-closed; patch below.
#1 Updated by Jean-Philippe Lang over 12 years ago
- Status changed from New to Closed
issue-closedcss class is used for entries in the activity view. I don't want these entries to be stikethru'ed. A different icon shows that an issue was closed.
issue.closed(that applies to html elements that have both the
closedclass) is used for links to a closed issue (eg. #1124).
#2 Updated by W Snyder over 12 years ago
- Status changed from Closed to Reopened
Fair enough; I'll redo this patch then.
What I was looking for is on the "activity page" and bug lists that anywhere a closed bug number is listed it will look like this:
Bug# Foo bar baz
For example look at your own:
I think all of the issue numbers that are closed should be strikethru'ed. This makes it easier to scan for new issues. Likewise the # column in the issues report list.
The patch did the names but not the numbers; I would have rather had the numbers anyways but got mislead by the use of the class as you described.
Thanks for correcting my misunderstanding on how this all worked.
#3 Updated by Otávio Sampaio over 12 years ago
- File strike_closed_issue_link.diff added
I'm a Redmine newbie but I do appreciate all the effort that has been made. Great tool. I have something to add to this ticket. I use a lot the calendar and the gantt chart. But sometimes is very annoying don't when we couldn't easily see the issues that are already closed. That's why I attached a patch the change the link_to_issue behave.
#4 Updated by Peter Van den Bosch over 12 years ago
- File closed_issues_strikethrough_in_css.patch added
I've added a patch which does about the same as Otávio's patch above, but by applying the css classes 'issue closed' when using link_to_issue instead of adding <del> tags.
This affects the issue links in gantt, calendar, timelog and issue relations. Also, the patch removes the strikethrough in roadmap en versions rhtmls, since they would be provided by using link_to_issue.