From 7f5d9f90290c3eb8f0dba347d434ddc45793ad69 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 29 Jul 2021 06:47:39 +0200 Subject: [PATCH] dffd --- drama/routes/posts.py | 2 +- drama/templates/default.html | 2 +- drama/templates/userpage.html | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drama/routes/posts.py b/drama/routes/posts.py index 075df16254..27b2aa97c7 100644 --- a/drama/routes/posts.py +++ b/drama/routes/posts.py @@ -76,7 +76,7 @@ def submit_get(v): @app.get("/post//") @app.get("/api/v1/post/") @auth_desired -@api("read") +@public("read") def post_base36id(pid, anything=None, v=None): try: pid = int(pid) except Exception as e: pass diff --git a/drama/templates/default.html b/drama/templates/default.html index 63fa39cce4..941ecb80a5 100644 --- a/drama/templates/default.html +++ b/drama/templates/default.html @@ -995,7 +995,7 @@ - + {% include "header.html" %} diff --git a/drama/templates/userpage.html b/drama/templates/userpage.html index f4bc2c5979..c35db5371c 100644 --- a/drama/templates/userpage.html +++ b/drama/templates/userpage.html @@ -4,6 +4,7 @@ {% block stylesheets %} {% if v %} + {% if v.agendaposter %}{% elif v.css %}{% endif %} {% else %} {% endif %} @@ -13,6 +14,7 @@ {% endblock %} {% endif %} + {% block pagetype %}userpage{% endblock %} {% block title %}