fix missing modlog kind for DM images

pull/98/head
Aevann 2023-01-25 13:35:46 +02:00
parent 94d7042512
commit 3555e23f76
2 changed files with 11 additions and 0 deletions

View File

@ -200,6 +200,7 @@
.fa-image-slash:before{content:"\e1b7"}
.fa-play:before{content:"\f04b"}
.fa-temperature-snow:before{content:"\f768"}
.fa-images:before{content:"\f302"}
button {
background: none;

View File

@ -81,6 +81,11 @@ MODACTION_TYPES = {
"icon": 'fa-shield',
"color": 'bg-muted'
},
'disable_dm_images': {
"str": 'disabled DM images',
"icon": 'fa-images',
"color": 'bg-muted'
},
'distinguish_comment': {
"str": 'distinguished {self.target_link}',
"icon": 'fa-crown',
@ -141,6 +146,11 @@ MODACTION_TYPES = {
"icon": 'fa-shield',
"color": 'bg-success',
},
'enable_dm_images': {
"str": 'enabled DM images',
"icon": 'fa-images',
"color": 'bg-success',
},
'flair_post': {
"str": 'set a flair on {self.target_link}',
"icon": 'fa-tag',