Adding alt text for header icons. Related to #2089.
This commit is contained in:
parent
81e04a11fe
commit
97e1775938
1 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
= link_to conversations_path, :title => new_message_text(@unread_message_count) do
|
||||
= 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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue