diff --git a/app/assets/stylesheets/themes/default/mixins/_flashes.scss b/app/assets/stylesheets/themes/default/mixins/_flashes.scss index 820eb04..ccb5ed0 100644 --- a/app/assets/stylesheets/themes/default/mixins/_flashes.scss +++ b/app/assets/stylesheets/themes/default/mixins/_flashes.scss @@ -44,4 +44,8 @@ display: inline-block; font-style: italic; padding: 0 3px; + + a { + color: white; + } } diff --git a/app/views/messages/index.html.erb b/app/views/messages/index.html.erb index 1d9ed26..1f41e64 100644 --- a/app/views/messages/index.html.erb +++ b/app/views/messages/index.html.erb @@ -18,7 +18,11 @@
<% if cuser.received_messages.any? %> <% cuser.received_messages.reverse_each do |message| %> -
+ <% if cuser.new_messages.include?(message) %> +
+ <% else %> +
+ <% end %> <%= render partial: 'message', locals: { message: message } %>
<% end %>