Adding alt text for header icons. Related to #2089.

This commit is contained in:
Gonzalo Rodriguez 2011-10-03 23:33:32 -02:00
parent 81e04a11fe
commit 97e1775938

View file

@ -24,21 +24,21 @@
#nav_badges
#home_badge.badge
= link_to aspects_path, :title => t('_home') do
= image_tag 'icons/home_grey.svg', :height => 16
= image_tag 'icons/home_grey.svg', :height => 16, :alt => t('_home')
#contacts_badge.badge
= link_to contacts_link, :title => t('_contacts') do
= image_tag 'icons/contacts_grey.svg', :height => 16
= image_tag 'icons/contacts_grey.svg', :height => 16, :alt => t('_contacts')
#notification_badge.badge
= link_to notifications_path, :title => new_notification_text(@notification_count) do
= image_tag 'icons/notifications_grey.svg', :height => 16, :id => "notification-flag"
= image_tag 'icons/notifications_grey.svg', :height => 16, :id => "notification-flag", :alt => new_notification_text(@notification_count)
.badge_count{:class => ("hidden" if @notification_count == 0)}
= @notification_count
#message_inbox_badge.badge
= link_to conversations_path, :title => new_message_text(@unread_message_count) do
= image_tag 'icons/mail_grey.svg', :width => 18
= image_tag 'icons/mail_grey.svg', :width => 18, :alt => new_message_text(@unread_message_count)
.badge_count{:class => ("hidden" if @unread_message_count == 0)}
= @unread_message_count