diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/roadmap.rhtml | 10 | ||||
-rw-r--r-- | app/views/versions/show.rhtml | 3 |
2 files changed, 4 insertions, 9 deletions
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 %> <fieldset class="related-issues"><legend><%= l(:label_related_issues) %></legend> <ul> - <% issues.each do |issue| %> - <li> - <%= link = link_to_issue(issue) - issue.status.is_closed? ? content_tag("del", link) : link %>: <%=h issue.subject %> - <%= content_tag "em", "(#{l(:label_closed_issues)})" if issue.status.is_closed? %> - </li> - <% end %> + <%- issues.each do |issue| -%> + <li class="issue <%= 'closed' if issue.closed? %>"><%= link_to_issue(issue) %>: <%=h issue.subject %></li> + <%- end -%> </ul> </fieldset> <% 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 @@ <fieldset class="related-issues"><legend><%= l(:label_related_issues) %></legend> <ul> <% issues.each do |issue| -%> - <li><%= link = link_to_issue(issue) - issue.status.is_closed? ? content_tag("del", link) : link %>: <%=h issue.subject %></li> + <li class="issue <%= 'closed' if issue.closed? %>"><%= link_to_issue(issue) %>: <%=h issue.subject %></li> <% end -%> </ul> </fieldset> |