2
0
mirror of https://github.com/jfmcbrayer/brutaldon synced 2024-12-23 13:49:48 +01:00

Don't show actions bar when you're only showing a toot for confirmation

This commit is contained in:
Jason McBrayer 2018-05-22 08:11:21 -04:00
parent bfa9e8e86b
commit 50a44d1a43
2 changed files with 5 additions and 2 deletions

View File

@ -71,6 +71,8 @@
<br>
</div>
<p class="is-hidden"></p>
{% if not confirm_page %}
<nav class="level is-mobile">
<div class="level-left">
<div class="level-item">
@ -118,6 +120,7 @@
</a>
</div>
</nav>
{% endif %}
</div>
<div class="media-right">
</div>

View File

@ -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)})