basic UI for reporting diary entries,diary entry comments and user profiles
[rails.git] / app / helpers / issues_helper.rb
index 7e9e233df064eea7faf89bf64759ed250a7340ea..109599be4d7a9ccb4291f4f20ac08621ca5a8d40 100644 (file)
@@ -11,9 +11,9 @@ module IssuesHelper
                when "User"
                        link_to reportable.display_name,        :controller => reportable.class.name.underscore,
                                                                                                                                                                :action => "view",
-                                                                                                                                                               :display_name => reportable.diary_entry.user.display_name
+                                                                                                                                                               :display_name => reportable.display_name
                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