Moves titles into templates and adds i18n support

This commit is contained in:
Mouse Reeve
2021-02-28 10:00:36 -08:00
parent c4116c93b7
commit c483768544
55 changed files with 121 additions and 102 deletions

View File

@@ -15,8 +15,7 @@ class Block(View):
''' blocking users '''
def get(self, request):
''' list of blocked users? '''
return TemplateResponse(
request, 'preferences/blocks.html', {'title': 'Blocked Users'})
return TemplateResponse(request, 'preferences/blocks.html')
def post(self, request, user_id):
''' block a user '''