forked from MarseyWorld/MarseyWorld
Change notification bell colors for messages.
Messages bell is now an orange-ish gold. To avoid confusion with the yellowish-goldish modactions bell, modactions are now green.master
parent
7586dfdbc8
commit
1b3c042552
|
@ -632,9 +632,9 @@ class User(Base):
|
|||
def notifications_color(self):
|
||||
colors = {
|
||||
'': '#dc3545',
|
||||
'messages': '#dc3545',
|
||||
'messages': '#d8910d',
|
||||
'posts': '#0000ff',
|
||||
'modactions': '#e5990d',
|
||||
'modactions': '#1ad80d',
|
||||
'reddit': '#805ad5',
|
||||
}
|
||||
return colors[self.notifications_do] if self.notifications_do \
|
||||
|
|
Loading…
Reference in New Issue