diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb index 71cb4d93..e906a395 100644 --- a/app/controllers/sessions_controller.rb +++ b/app/controllers/sessions_controller.rb @@ -33,8 +33,13 @@ def failure def unknown_facebook_id_message(user_id) "Your Facebook ID for #{tc('site_name')} (#{user_id}) isn't in the approved list.\n" \ + "\n" \ "If you've been invited to become an editor, " \ - "please contact the main site admins and get them to add this ID" + "please contact the main site admins and get them to add this ID. \n" \ + "\n" \ + "IF YOU ARE A TESTER FROM META:\n" \ + "Please read the testing instructions which we've written for you on the app dashboard! \n" \ + "We've given you credentials for a test user - PLEASE USE THOSE AND STOP DISABLING OUR ACCESS!" end def login_session diff --git a/app/views/shared/_flash.html.erb b/app/views/shared/_flash.html.erb index 5f36b2ee..b180ca36 100644 --- a/app/views/shared/_flash.html.erb +++ b/app/views/shared/_flash.html.erb @@ -1,3 +1,3 @@ <% flash.each do |key, message| %> - <%= content_tag :div, message, class: key, data: { controller: "flash" } %> + <%= content_tag :div, simple_format(message), class: key, data: { controller: "flash" } %> <% end %>