This is a very small commit. All that I have done here is to clean up my code
a bit. I made it so that mediagoblin.user_pages.report recieves the report
form as part of it's context. I also made sure I used {% trans %} tags effect-
-ively.
This commit is contained in:
@@ -107,7 +107,7 @@ def take_punitive_actions(request, form, report, user):
|
||||
|
||||
|
||||
archive.result=form.resolution_content.data
|
||||
# Session.add(archive)
|
||||
Session.add(archive)
|
||||
Session.commit()
|
||||
if message_body:
|
||||
send_email(
|
||||
|
||||
Reference in New Issue
Block a user