fggf
This commit is contained in:
parent
f16006b7c2
commit
bd17488b70
2 changed files with 70 additions and 68 deletions
|
@ -19,4 +19,4 @@ def crosspost_embed(id):
|
|||
|
||||
p = get_post(id, graceful=True)
|
||||
|
||||
return render_template("submission_listing.html", listing=[p])
|
||||
return render_template("submission_listing.html", listing=[p], postembed=True)
|
|
@ -25,7 +25,7 @@
|
|||
<div class="d-flex flex-row-reverse flex-md-row flex-nowrap justify-content-end">
|
||||
|
||||
<!-- Voting on "medium" devices or larger, hidden on smaller devices -->
|
||||
|
||||
{% if not postembed %}
|
||||
<div class="voting my-2 d-none d-md-block pr-2">
|
||||
{% if v and request.path.startswith('/@') and v.admin_level == 0 %}
|
||||
|
||||
|
@ -59,6 +59,7 @@
|
|||
{% endif %}
|
||||
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="card-header bg-transparent border-0 d-flex flex-row flex-nowrap pl-2 pl-md-0 p-0 mr-md-2">
|
||||
|
||||
|
@ -236,6 +237,7 @@
|
|||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if not postembed %}
|
||||
{% if v and request.path.startswith('/@') and v.admin_level == 0 %}
|
||||
<li id="voting-{{p.id}}-mobile" class="voting list-inline-item d-md-none">
|
||||
|
||||
|
@ -278,7 +280,7 @@
|
|||
</span>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue