From 50a44d1a4332f791ef50434416f627a9bacf4514 Mon Sep 17 00:00:00 2001 From: Jason McBrayer Date: Tue, 22 May 2018 08:11:21 -0400 Subject: [PATCH] Don't show actions bar when you're only showing a toot for confirmation --- brutaldon/templates/main/toot_partial.html | 3 +++ brutaldon/views.py | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/brutaldon/templates/main/toot_partial.html b/brutaldon/templates/main/toot_partial.html index 4e96840..39415e5 100644 --- a/brutaldon/templates/main/toot_partial.html +++ b/brutaldon/templates/main/toot_partial.html @@ -71,6 +71,8 @@
+ + {% if not confirm_page %} + {% endif %}
diff --git a/brutaldon/views.py b/brutaldon/views.py index 13cb041..4bf94b4 100644 --- a/brutaldon/views.py +++ b/brutaldon/views.py @@ -355,7 +355,7 @@ def fav(request, id): return redirect(thread, id) else: return render(request, 'main/fav.html', - {"toot": toot, + {"toot": toot, "confirm_page": True, 'fullbrutalism': fullbrutalism_p(request)}) @never_cache @@ -371,5 +371,5 @@ def boost(request, id): return redirect(thread, id) else: return render(request, 'main/boost.html', - {"toot": toot, + {"toot": toot, 'confirm_page': True, "fullbrutalism": fullbrutalism_p(request)})