mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 05:02:50 +08:00
notification index images [fixes SCI-554]
This commit is contained in:
parent
fe08022b2d
commit
5b3889c172
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
<div class="col-xs-3 col-md-1">
|
<div class="col-xs-3 col-md-1">
|
||||||
<% if notification.type_of == 'recent_changes' %>
|
<% if notification.type_of == 'recent_changes' %>
|
||||||
<div class="text-center">
|
<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>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if notification.type_of == 'assignment' %>
|
<% if notification.type_of == 'assignment' %>
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-9 col-md-11">
|
<div class="col-xs-9 col-md-11">
|
||||||
<strong><%= notification.title.html_safe %></strong> <br>
|
<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>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in a new issue