Adds text to notifications icons on header
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<% if user_signed_in? %>
|
||||
<li>
|
||||
<%= link_to notifications_path, class: "notifications", accesskey: "n" do %>
|
||||
<span class="sr-only"><%= t("layouts.header.notifications") %></span>
|
||||
<% if current_user.notifications_count > 0 %>
|
||||
<span class="icon-circle" aria-hidden="true"></span>
|
||||
<span class="icon-notification" aria-hidden="true" title="<%= t('layouts.header.new_notifications', count: current_user.notifications_count).html_safe %>">
|
||||
|
||||
@@ -198,6 +198,7 @@ en:
|
||||
more_information: More information
|
||||
my_account_link: My account
|
||||
my_activity_link: My activity
|
||||
notifications: Notifications
|
||||
new_notifications:
|
||||
one: You have a new notification
|
||||
other: You have %{count} new notifications
|
||||
|
||||
@@ -198,6 +198,7 @@ es:
|
||||
more_information: Más información
|
||||
my_account_link: Mi cuenta
|
||||
my_activity_link: Mi actividad
|
||||
notifications: Notificaciones
|
||||
new_notifications:
|
||||
one: Tienes una nueva notificación
|
||||
other: Tienes %{count} notificaciones nuevas
|
||||
|
||||
Reference in New Issue
Block a user