3112: log when an issue is reported
authorradhika <radhika@curoverse.com>
Thu, 14 Aug 2014 19:12:17 +0000 (15:12 -0400)
committerradhika <radhika@curoverse.com>
Thu, 14 Aug 2014 19:12:17 +0000 (15:12 -0400)
apps/workbench/app/controllers/actions_controller.rb
apps/workbench/app/views/application/_report_issue_popup.html.erb

index a50eaaf4325ba0daf76c5565b9d590dbcf6ba239..e7feb25894d1a13675a17cac6f327d0e1d9392b0 100644 (file)
@@ -186,6 +186,9 @@ class ActionsController < ApplicationController
   end
 
   def report_issue
+    puts "Issue being reported with these parameters: #{params.inspect}"
+    logger.warn "Issue being reported with these parameters: #{params.inspect}"
+
     respond_to do |format|
       IssueReporter.send_report(current_user, params).deliver
       format.js
index 4a56fded84878a9516d610ba4557e36c3c228e7b..e569933c56f0a093faa3f4bbe1bb1555ee2dd2e4 100644 (file)
@@ -80,7 +80,7 @@
 
         <% if @popup_params[:popup_type] == 'report' %>
           <div class="form-group">
-            <label for="report_text_label" class="col-sm-4 control-label"> Report text </label>
+            <label for="report_text_label" class="col-sm-4 control-label"> Found a problem? Tell us what happened </label>
             <div class="col-sm-8">
               <textarea class="form-control" rows="1" name="report_text" type="text"/>
             </div>