diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-01-14 10:52:53 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-01-14 12:53:09 +0000 |
commit | c2bf5a90fc76eda220b35b510b7a200a43c858b1 (patch) | |
tree | bbe3b081cb062880049fce59e6b6a54c16830cf9 /app/controllers/services_controller.rb | |
parent | 9e9c5e4bf090e98ef16d7a54c46f16e87ce3e4ae (diff) |
Cleanup popup notices.
Move HTML to view from controller, use same elements for other country
popup and everypage - partly so they don't display on top of each other
anymore. Don't position them over existing content, position them at the
top of the page. Use consistent styling, and keep the javascript
unobtrusive.
Diffstat (limited to 'app/controllers/services_controller.rb')
-rw-r--r-- | app/controllers/services_controller.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/app/controllers/services_controller.rb b/app/controllers/services_controller.rb index 11ed4ac8f..78c494dba 100644 --- a/app/controllers/services_controller.rb +++ b/app/controllers/services_controller.rb @@ -24,9 +24,6 @@ class ServicesController < ApplicationController FastGettext.locale = old_fgt_locale end end - if !text.empty? - text += ' <span class="close-button">X</span>'.html_safe - end render :text => text, :content_type => "text/plain" # XXX workaround the HTML validation in test suite end |