Strikethru closed issue links (#1127).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1680 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
1ddd9bb55b
commit
83baccb71a
4 files changed
+6
-3
No files matched your search
@@ -41,6 +41,9 @@ module ApplicationHelper
|
||||
end
|
||||
|
||||
def link_to_issue(issue, options={})
|
||||
options[:class] ||= ''
|
||||
options[:class] << ' issue'
|
||||
options[:class] << ' closed' if issue.closed?
|
||||
link_to "#{issue.tracker.name} ##{issue.id}", {:controller => "issues", :action => "show", :id => issue}, options
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user