mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
UX: reviving old topic popup should not have red warning background
This commit is contained in:
parent
2eba00a326
commit
3eb0288adb
2 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue