mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
add lock_post action
This commit is contained in:
parent
23a6b2673e
commit
455612bf2e
1 changed files with 2 additions and 0 deletions
|
@ -2285,6 +2285,8 @@ class ModLog(db.Model):
|
||||||
'undelete_user': _l('Restored account'),
|
'undelete_user': _l('Restored account'),
|
||||||
'ban_user': _l('Banned account'),
|
'ban_user': _l('Banned account'),
|
||||||
'unban_user': _l('Un-banned account'),
|
'unban_user': _l('Un-banned account'),
|
||||||
|
'lock_post': _l('Lock post'),
|
||||||
|
'unlock_post': _l('Un-lock post'),
|
||||||
}
|
}
|
||||||
|
|
||||||
def action_to_str(self):
|
def action_to_str(self):
|
||||||
|
|
Loading…
Add table
Reference in a new issue