notification index images [fixes SCI-554]

This commit is contained in:
zmagod 2016-10-06 12:09:01 +02:00
parent fe08022b2d
commit 5b3889c172

View file

@ -4,7 +4,7 @@
<div class="col-xs-3 col-md-1">
<% if notification.type_of == 'recent_changes' %>
<div class="text-center">
<%= image_tag avatar_path(notification.generator_user, :icon_small), class: 'avatar' %>
<%= image_tag avatar_path(notification.generator_user, :icon_small), class: 'avatar img-circle' %>
</div>
<% end %>
<% if notification.type_of == 'assignment' %>
@ -20,7 +20,7 @@
</div>
<div class="col-xs-9 col-md-11">
<strong><%= notification.title.html_safe %></strong> <br>
<%= l(notification.created_at, format: :full) %> | <%= notification.message %>
<%= l(notification.created_at, format: :full) %> | <%= notification.message.html_safe %>
</div>
</div>
</li>