]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/issues_helper.rb
Replaced check_box_tags with radio_button
[rails.git] / app / helpers / issues_helper.rb
index 7e9e233df064eea7faf89bf64759ed250a7340ea..b063935ea3c851649b066269de5408013d28c652 100644 (file)
@@ -9,11 +9,11 @@ module IssuesHelper
                                                                                                                                :display_name => reportable.user.display_name,
                                                                                                                                :id => reportable.id
                when "User"
                                                                                                                                :display_name => reportable.user.display_name,
                                                                                                                                :id => reportable.id
                when "User"
-                       link_to reportable.display_name,        :controller => reportable.class.name.underscore,
+                       link_to reportable.display_name.to_s,   :controller => reportable.class.name.underscore,
                                                                                                                                                                :action => "view",
                                                                                                                                                                :action => "view",
-                                                                                                                                                               :display_name => reportable.diary_entry.user.display_name
+                                                                                                                                                               :display_name => reportable.display_name
                when "DiaryComment"
                when "DiaryComment"
-                       link_to "#{reportable.diary_entry.title} Comment id ##{reportable.id}", :controller => reportable.diary_entry.class.name.underscore,
+                       link_to "#{reportable.diary_entry.title}, Comment id ##{reportable.id}",        :controller => reportable.diary_entry.class.name.underscore,
                                                                                                                :action => :view,
                                                                                                                :display_name => reportable.diary_entry.user.display_name,
                                                                                                                :id => reportable.id
                                                                                                                :action => :view,
                                                                                                                :display_name => reportable.diary_entry.user.display_name,
                                                                                                                :id => reportable.id