From 8f783f87f78248d2147b1aec341cac8444d047b7 Mon Sep 17 00:00:00 2001 From: Mojca Lorber Date: Wed, 12 Oct 2016 15:32:40 +0200 Subject: [PATCH] fixes hound --- app/assets/stylesheets/themes/scinote.scss | 10 ++++------ .../user_notifications/_recent_notifications.html.erb | 2 +- app/views/users/settings/preferences.html.erb | 2 +- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/app/assets/stylesheets/themes/scinote.scss b/app/assets/stylesheets/themes/scinote.scss index ad8bd51a1..f5dda4112 100644 --- a/app/assets/stylesheets/themes/scinote.scss +++ b/app/assets/stylesheets/themes/scinote.scss @@ -149,7 +149,7 @@ table { width: 45px; } - .system_message { + .system-message { background-color: $color-theme-secondary; border-radius: 50%; color: $color-wild-sand; @@ -591,8 +591,6 @@ a[data-toggle="tooltip"] { margin-bottom: 15px; } - - .assignment { background-color: $color-theme-primary; border-radius: 50%; @@ -601,11 +599,11 @@ a[data-toggle="tooltip"] { margin-left: 20px; margin-right: 15px; padding: 7px; - padding-top: 5px; padding-bottom: 5px; + padding-top: 5px; } - .system_message { + .system-message { background-color: $color-theme-secondary; border-radius: 50%; color: $color-wild-sand; @@ -613,8 +611,8 @@ a[data-toggle="tooltip"] { margin-left: 20px; margin-right: 15px; padding: 8px; - padding-top: 5px; padding-bottom: 5px; + padding-top: 5px; } .img-circle { diff --git a/app/views/user_notifications/_recent_notifications.html.erb b/app/views/user_notifications/_recent_notifications.html.erb index e8454e9c3..82a852093 100644 --- a/app/views/user_notifications/_recent_notifications.html.erb +++ b/app/views/user_notifications/_recent_notifications.html.erb @@ -14,7 +14,7 @@ <% end %> <% if notification.type_of == 'system_message' %>
- +
<% end %> diff --git a/app/views/users/settings/preferences.html.erb b/app/views/users/settings/preferences.html.erb index 638a49dfd..1c599ebd8 100644 --- a/app/views/users/settings/preferences.html.erb +++ b/app/views/users/settings/preferences.html.erb @@ -50,7 +50,7 @@ <%= f.label t('notifications.form.recent_notification') %>
<%= f.label t('notifications.form.assignments') %>
- + <%= f.label t('notifications.form.system_message') %>