Patch #1127 » strike_closed_issue_link.diff
application_helper.rb (working copy) | ||
---|---|---|
41 | 41 |
end |
42 | 42 |
|
43 | 43 |
def link_to_issue(issue, options={}) |
44 |
link_to "#{issue.tracker.name} ##{issue.id}", {:controller => "issues", :action => "show", :id => issue}, options |
|
44 |
link = link_to "#{issue.tracker.name} ##{issue.id}", {:controller => "issues", :action => "show", :id => issue}, options |
|
45 |
link = content_tag(:del, link) if issue.closed? |
|
46 |
link |
|
45 | 47 |
end |
46 | 48 |
|
47 | 49 |
def toggle_link(name, id, options={}) |