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:
parent
bfa9e8e86b
commit
50a44d1a43
@ -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>
|
||||
|
@ -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)})
|
||||
|
Loading…
Reference in New Issue
Block a user