make the modlog note for updating assets link to te updated asset

master
Aevann1 2022-10-14 14:38:06 +02:00
parent 89a0ff4a4b
commit 5e55ff7f90
1 changed files with 2 additions and 2 deletions

View File

@ -392,7 +392,7 @@ if SITE not in ('pcmemes.net', 'watchpeopledie.co'):
ma = ModAction( ma = ModAction(
kind="update_marsey", kind="update_marsey",
user_id=v.id, user_id=v.id,
_note=name _note=f'<a href="/e/{name}.webp">{name}</a>'
) )
g.db.add(ma) g.db.add(ma)
@ -458,7 +458,7 @@ if SITE not in ('pcmemes.net', 'watchpeopledie.co'):
ma = ModAction( ma = ModAction(
kind="update_hat", kind="update_hat",
user_id=v.id, user_id=v.id,
_note=name _note=f'<a href="/i/hats/{name}.webp">{name}</a>'
) )
g.db.add(ma) g.db.add(ma)