diff --git a/README.md b/README.md index 06d715a..878d076 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ By popular demand, I'm building a better anonkun. It doesn't do much right now t Python 3.6+ PostgreSQL 10.4+ Redis 4.0.10+ -Python packages: `django psycopg2 channels channels_redis jinja2 argon2-cffi bleach requests python-magic django-taggit` +Python packages: `django psycopg2 channels channels_redis jinja2 argon2-cffi bleach requests python-magic django-taggit django-user-messages` ## Install ``` diff --git a/jinja2/base.html b/jinja2/base.html index 6d11e6a..6959ce4 100644 --- a/jinja2/base.html +++ b/jinja2/base.html @@ -23,8 +23,10 @@
{% block content %}{% endblock %}
diff --git a/quest/jinja2/quest/quest_header.html b/quest/jinja2/quest/quest_header.html index 4edd220..5ebe8d0 100644 --- a/quest/jinja2/quest/quest_header.html +++ b/quest/jinja2/quest/quest_header.html @@ -25,7 +25,7 @@ {% if request.user.is_authenticated %} - Profile + {{ request.user.username }} {% endif %} {% if request.session.get("hide_chat") == True %}←{% else %}→{% endif %} diff --git a/quest/jinja2/quest/quest_homepage.html b/quest/jinja2/quest/quest_homepage.html index 114e28b..3f48d60 100644 --- a/quest/jinja2/quest/quest_homepage.html +++ b/quest/jinja2/quest/quest_homepage.html @@ -37,6 +37,12 @@ {% endif %} + {% if request.user.is_authenticated %} +
+ {{ csrf_input }} + Subscribe +
+ {% endif %}

Pages