diff --git a/packetserver/http/routers/bulletins.py b/packetserver/http/routers/bulletins.py index a795621..e0f4e6e 100644 --- a/packetserver/http/routers/bulletins.py +++ b/packetserver/http/routers/bulletins.py @@ -130,7 +130,11 @@ async def bulletin_list_page( return templates.TemplateResponse( "bulletin_list.html", - {"request": request, "bulletins": bulletins, "current_user": current_user.username} + { + "request": request, + "bulletins": bulletins, + "current_user": current_user.username + } ) @html_router.get("/bulletins/new", response_class=HTMLResponse) diff --git a/packetserver/http/templates/bulletin_list.html b/packetserver/http/templates/bulletin_list.html index 631683b..e768e22 100644 --- a/packetserver/http/templates/bulletin_list.html +++ b/packetserver/http/templates/bulletin_list.html @@ -1,34 +1,31 @@ - - -
- -Log in to create bulletins.
+Log in to create bulletins.
{% endif %} {% if bulletins %} -No bulletins yet.
+No bulletins yet.
{% endif %} - - - \ No newline at end of file + +