Patch #1127 » closed_issues_strikethrough_in_css.patch
app/helpers/application_helper.rb (working copy) | ||
---|---|---|
41 | 41 |
end |
42 | 42 |
|
43 | 43 |
def link_to_issue(issue, options={}) |
44 |
options[:class] ||= 'issue' |
|
45 |
options[:class] += ' closed' if issue.closed? |
|
44 | 46 |
link_to "#{issue.tracker.name} ##{issue.id}", {:controller => "issues", :action => "show", :id => issue}, options |
45 | 47 |
end |
46 | 48 |
|
app/views/versions/show.rhtml (working copy) | ||
---|---|---|
38 | 38 |
<fieldset class="related-issues"><legend><%= l(:label_related_issues) %></legend> |
39 | 39 |
<ul> |
40 | 40 |
<% issues.each do |issue| -%> |
41 |
<li class="issue <%= 'closed' if issue.closed? %>"><%= link_to_issue(issue) %>: <%=h issue.subject %></li>
|
|
41 |
<li><%= link_to_issue(issue) %>: <%=h issue.subject %></li> |
|
42 | 42 |
<% end -%> |
43 | 43 |
</ul> |
44 | 44 |
</fieldset> |
app/views/projects/roadmap.rhtml (working copy) | ||
---|---|---|
20 | 20 |
<fieldset class="related-issues"><legend><%= l(:label_related_issues) %></legend> |
21 | 21 |
<ul> |
22 | 22 |
<%- issues.each do |issue| -%> |
23 |
<li class="issue <%= 'closed' if issue.closed? %>"><%= link_to_issue(issue) %>: <%=h issue.subject %></li>
|
|
23 |
<li><%= link_to_issue(issue) %>: <%=h issue.subject %></li> |
|
24 | 24 |
<%- end -%> |
25 | 25 |
</ul> |
26 | 26 |
</fieldset> |
- « Previous
- 1
- 2
- 3
- Next »