Index: app/helpers/issues_helper.rb
===================================================================
--- app/helpers/issues_helper.rb (r‚vision 12484)
+++ app/helpers/issues_helper.rb (copie de travail)
@@ -172,8 +172,23 @@
n = 0
ordered_values.compact.each do |value|
css = "cf_#{value.custom_field.id}"
+ val = show_value(value)
s << "\n
\n" if n > 0 && (n % 2) == 0
- s << "\t#{ h(value.custom_field.name) }: | #{ h(show_value(value)) } | \n"
+ s << "\t#{ h(value.custom_field.name) }: | "
+ if val[0,1] == "#"
+ if val.include? ","
+ s << ""
+ val.split(',').each do |theVal|
+ s << "- " << link_to_issue(Issue.find_by_id(theVal[1,theVal.length]), :truncate => 60) << "
"
+ end
+ s << " "
+ else
+ s << link_to_issue(Issue.find_by_id(val[1,val.length]), :truncate => 60)
+ end
+ else
+ s << "#{ h(val) }"
+ end
+ s << " | \n"
n += 1
end
s << "
\n"