fix 404 error
parent
2736c90d8e
commit
3d384757f5
|
@ -909,7 +909,7 @@ class User(Base):
|
|||
elif self.modaction_notifications_count > 0:
|
||||
return 'modactions'
|
||||
elif self.offsite_notifications_count > 0:
|
||||
return 'offsite'
|
||||
return 'site_mentions'
|
||||
return ''
|
||||
|
||||
@property
|
||||
|
@ -921,7 +921,7 @@ class User(Base):
|
|||
'modmail': '#f15387',
|
||||
'posts': '#0000ff',
|
||||
'modactions': '#1ad80d',
|
||||
'offsite': '#805ad5',
|
||||
'site_mentions': '#805ad5',
|
||||
}
|
||||
return colors[self.notifications_do] if self.notifications_do \
|
||||
else colors['']
|
||||
|
|
Loading…
Reference in New Issue