summaryrefslogtreecommitdiffstats
path: root/app/helpers/email_addresses_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/email_addresses_helper.rb')
-rw-r--r--app/helpers/email_addresses_helper.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/helpers/email_addresses_helper.rb b/app/helpers/email_addresses_helper.rb
index f75657cf8..81449edfa 100644
--- a/app/helpers/email_addresses_helper.rb
+++ b/app/helpers/email_addresses_helper.rb
@@ -22,17 +22,17 @@ module EmailAddressesHelper
# Returns a link to enable or disable notifications for the address
def toggle_email_address_notify_link(address)
if address.notify?
- link_to '',
+ link_to l(:label_disable_notifications),
user_email_address_path(address.user, address, :notify => '0'),
:method => :put, :remote => true,
:title => l(:label_disable_notifications),
- :class => 'icon icon-email'
+ :class => 'icon-only icon-email'
else
- link_to '',
+ link_to l(:label_enable_notifications),
user_email_address_path(address.user, address, :notify => '1'),
:method => :put, :remote => true,
:title => l(:label_enable_notifications),
- :class => 'icon icon-email-disabled'
+ :class => 'icon-only icon-email-disabled'
end
end
end