|
|
@ -19,8 +19,8 @@ module ItemsHelper |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
def issue_id_or_default(item) |
|
|
|
def issue_id_or_default(item) |
|
|
|
item.new_record? ? "#<span class='issue_id'>0</span>" : |
|
|
|
item.new_record? ? "<span class='issue_id'>0</span>" : |
|
|
|
link_to("#<span class='issue_id'>#{item.issue.id}</span>", :controller => "issues", :action => "show", :id => item.issue.id) |
|
|
|
link_to("<span class='issue_id'>#{item.issue.id}</span>", :controller => "issues", :action => "show", :id => item.issue.id) |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
def mark_if_closed(item) |
|
|
|
def mark_if_closed(item) |
|
|
|