diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index a6acafb5b..f21b43a23 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -296,7 +296,7 @@ module ApplicationHelper when nil if issue = Issue.find_by_id(oid, :include => [:project, :status], :conditions => Project.visible_by(User.current)) link = link_to("##{oid}", {:only_path => only_path, :controller => 'issues', :action => 'show', :id => oid}, - :class => 'issue', + :class => (issue.closed? ? 'issue closed' : 'issue'), :title => "#{truncate(issue.subject, 100)} (#{issue.status.name})") link = content_tag('del', link) if issue.closed? end diff --git a/app/views/projects/roadmap.rhtml b/app/views/projects/roadmap.rhtml index 6a1b6b099..d9329d109 100644 --- a/app/views/projects/roadmap.rhtml +++ b/app/views/projects/roadmap.rhtml @@ -19,13 +19,9 @@ <% if issues.size > 0 %> <% end %> diff --git a/app/views/versions/show.rhtml b/app/views/versions/show.rhtml index 873354e0d..7f81cf503 100644 --- a/app/views/versions/show.rhtml +++ b/app/views/versions/show.rhtml @@ -38,8 +38,7 @@ diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index d855348dc..b3a472720 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -77,6 +77,8 @@ a, a:link, a:visited{ color: #2A5685; text-decoration: none; } a:hover, a:active{ color: #c61a1a; text-decoration: underline;} a img{ border: 0; } +a.issue.closed, .issue.closed a { text-decoration: line-through; } + /***** Tables *****/ table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; } table.list th { background-color:#EEEEEE; padding: 4px; white-space:nowrap; }