Delete unused files, restructure assets and use scss

This commit is contained in:
Patrick Jentsch
2022-02-15 09:25:34 +01:00
parent 585a6ba796
commit 15e897f005
45 changed files with 390 additions and 747 deletions

View File

@ -13,7 +13,9 @@ def create_message(
) -> Message:
subject_prefix: str = current_app.config['NOPAQUE_MAIL_SUBJECT_PREFIX']
msg: Message = Message(
f'{subject_prefix} {subject}', recipients=[recipient])
f'{subject_prefix} {subject}',
recipients=[recipient]
)
msg.body: Text = render_template(f'{template}.txt.j2', **kwargs)
msg.html: Text = render_template(f'{template}.html.j2', **kwargs)
return msg