Created
July 20, 2010 14:22
-
-
Save agate/483019 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb | |
index 60798fe..ffe4ca5 100644 | |
--- a/app/helpers/issues_helper.rb | |
+++ b/app/helpers/issues_helper.rb | |
@@ -35,11 +35,12 @@ module IssuesHelper | |
@cached_label_assigned_to ||= l(:field_assigned_to) | |
@cached_label_priority ||= l(:field_priority) | |
- link_to_issue(issue) + "<br /><br />" + | |
- "<strong>#{@cached_label_start_date}</strong>: #{format_date(issue.start_date)}<br />" + | |
- "<strong>#{@cached_label_due_date}</strong>: #{format_date(issue.due_date)}<br />" + | |
- "<strong>#{@cached_label_assigned_to}</strong>: #{issue.assigned_to}<br />" + | |
- "<strong>#{@cached_label_priority}</strong>: #{issue.priority.name}" | |
+ [link_to_issue(issue), | |
+ "<br /><br />", | |
+ "<strong>#{@cached_label_start_date}</strong>: #{format_date(issue.start_date)}<br />", | |
+ "<strong>#{@cached_label_due_date}</strong>: #{format_date(issue.due_date)}<br />", | |
+ "<strong>#{@cached_label_assigned_to}</strong>: #{issue.assigned_to}<br />", | |
+ "<strong>#{@cached_label_priority}</strong>: #{issue.priority.name}"].join('') | |
end | |
def render_issue_subject_with_tree(issue) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment