UX: reviving old topic popup should not have red warning background

This commit is contained in:
Arpit Jalan 2015-11-25 16:31:17 +05:30
parent 2eba00a326
commit 3eb0288adb
2 changed files with 5 additions and 1 deletions

View file

@ -29,6 +29,10 @@
background: dark-light-diff($danger, $secondary, 50%, -40%); background: dark-light-diff($danger, $secondary, 50%, -40%);
} }
&.old-topic {
background-color: dark-light-diff($tertiary, $secondary, 85%, -65%);
}
h3 { h3 {
margin-bottom: 10px; margin-bottom: 10px;
} }

View file

@ -149,7 +149,7 @@ class ComposerMessagesFinder
{ {
templateName: 'composer/education', templateName: 'composer/education',
wait_for_typing: false, wait_for_typing: false,
extraClass: 'urgent', extraClass: 'old-topic',
body: PrettyText.cook(I18n.t('education.reviving_old_topic', days: (Time.zone.now - topic.last_posted_at).round / 1.day)) body: PrettyText.cook(I18n.t('education.reviving_old_topic', days: (Time.zone.now - topic.last_posted_at).round / 1.day))
} }
end end