diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index 4e92fb7b5..8c279ff78 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -984,7 +984,7 @@ img.avatar, img.admin-avatar, img.moderator-avatar, img.initialjs-avatar { height: 100%; left: 28px; position: absolute; - top: 0; + top: 84px; width: 2px; } diff --git a/app/views/notifications/index.html.erb b/app/views/notifications/index.html.erb index cc9170e48..4f57ed5d9 100644 --- a/app/views/notifications/index.html.erb +++ b/app/views/notifications/index.html.erb @@ -1,7 +1,10 @@
+ +

<%= t("notifications.index.title") %>

+ <% if @notifications.empty? %> -
+
<%= t("notifications.index.empty_notifications") %>
<% else %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 468cdc481..321b4b448 100755 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -342,6 +342,7 @@ en: user_permission_verify_info: "* Only for users on Madrid City Census." notifications: index: + title: "Notifications" mark_all_as_read: "Mark all as read" empty_notifications: "You don't have new notifications." comments_on: diff --git a/config/locales/es.yml b/config/locales/es.yml index e1d785a17..4943b0756 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -342,6 +342,7 @@ es: user_permission_verify_info: "* Sólo usuarios empadronados en el municipio de Madrid." notifications: index: + title: "Notificaciones" mark_all_as_read: "Marcar todas como leídas" empty_notifications: "No tienes notificaciones nuevas." comments_on: