Permalink
Browse files

Remove some alt-attributes where they are not wanted (#10550).

  • Loading branch information...
1 parent b20b422 commit 79423018c314a6305a621e4d6778a8c7ae4a9ab9 @vanderhoorn vanderhoorn committed Nov 2, 2012
@@ -197,8 +197,8 @@ def readspeaker_button(options = {})
readspeaker_url = readspeaker_url_for(request.url, { :rid => rid }.merge(options))
content_tag(:div, :class => 'readspeaker_button') do
- (image_tag('icons/sayit.png', :class => 'icon', :alt => t('application.sayit_alt'), :title => t('application.sayit_title')) +
- (link_to(t('application.sayit'), readspeaker_url, { :class => link_class, :rel => 'nofollow' }.merge(options))) unless @node && (@node.hidden? || @node.private? || !@node.publishable?))
+ (image_tag('icons/sayit.png', :class => 'icon', :alt => '', :title => t('application.sayit_title')) +
+ (link_to(t('application.sayit'), readspeaker_url, { :title => t('application.sayit_title'), :class => link_class, :rel => 'nofollow' }.merge(options))) unless @node && (@node.hidden? || @node.private? || !@node.publishable?))
end
end
end
@@ -30,11 +30,11 @@
.title.clearfix
- if day_item.is_a?(Meeting)
- = image_tag 'icons/meeting.png', :class => 'icon', :alt => h(day_item.title)
+ = image_tag 'icons/meeting.png', :class => 'icon', :alt => ''
= link_to_content_node h(day_item.title), day_item, { :type => :url, :host => day_item.node.containing_site.content.domain }, :class => 'meeting'
- else
- = image_tag 'icons/calendar_item.png', :class => 'icon', :alt => h(day_item.title)
+ = image_tag 'icons/calendar_item.png', :class => 'icon', :alt => ''
= link_to_content_node h(day_item.title), day_item, { :type => :url, :host => day_item.node.containing_site.content.domain }, :class => 'event'
.buttons.clearfix
- = readspeaker_button(:rid => rid)
+ = readspeaker_button(:rid => rid)
@@ -119,7 +119,6 @@ nl:
print_title: Bekijk de printversie
save_error: Opslaan mislukt.
sayit: Lees voor
- sayit_alt: Icoon van een luidspreker
sayit_title: Gebruik Readspeaker om de content hardop voor te lezen
site: Gehele site
approvals:

0 comments on commit 7942301

Please sign in to comment.