forked from rDrama/rDrama
1
0
Fork 0

rename "frontpage" to "main feed" in move_hole mod action

master
Aevann1 2022-07-04 04:54:03 +02:00
parent 35e2e12e24
commit ed02d7572a
1 changed files with 2 additions and 2 deletions

View File

@ -52,9 +52,9 @@ def api_flag_post(pid, v):
g.db.add(post)
if v.admin_level and v.id != post.author_id:
sub_from_str = 'frontpage' if sub_from is None else \
sub_from_str = 'main feed' if sub_from is None else \
f'<a href="/h/{sub_from}">/h/{sub_from}</a>'
sub_to_str = 'frontpage' if sub_to is None else \
sub_to_str = 'main feed' if sub_to is None else \
f'<a href="/h/{sub_to}">/h/{sub_to}</a>'
ma = ModAction(
kind='move_hole',