Skip to content

Instantly share code, notes, and snippets.

@agate
Created July 20, 2010 14:22
Show Gist options
  • Save agate/483019 to your computer and use it in GitHub Desktop.
Save agate/483019 to your computer and use it in GitHub Desktop.
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