include text for notification menu on mobile size

This commit is contained in:
decabeza
2017-10-17 13:26:00 +02:00
parent 548fd03ac8
commit a14d54d56e
2 changed files with 12 additions and 1 deletions

View File

@@ -1139,8 +1139,13 @@ form {
color: #ecf00b;
font-size: rem-calc(10);
position: absolute;
right: 8px;
left: 12px;
top: 6px;
@include breakpoint(medium) {
left: auto;
right: 8px;
}
}
}

View File

@@ -6,8 +6,14 @@
<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 %>">
</span>
<small class="show-for-small-only">
<%= t('layouts.header.new_notifications', count: current_user.notifications_count).html_safe %>
</small>
<% else %>
<span class="icon-no-notification" aria-hidden="true" title="<%= t('layouts.header.no_notifications') %>"></span>
<small class="show-for-small-only">
<%= t('layouts.header.no_notifications') %>
</small>
<% end %>
<% end %>
</li>