mirror of
https://gitlab.com/brutaldon/brutaldon
synced 2025-06-05 21:49:32 +02:00
Expand reply/boost/fav only on desktop
This commit is contained in:
@@ -5,10 +5,10 @@
|
|||||||
{% load static %}
|
{% load static %}
|
||||||
|
|
||||||
{% if active %}
|
{% if active %}
|
||||||
<article class="media box active-context">
|
<article class="media box active-context">
|
||||||
{% else %}
|
{% else %}
|
||||||
<article class="media box">
|
<article class="media box">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<figure class="media-left">
|
<figure class="media-left">
|
||||||
<p class="image is-64x64 account-avatar">
|
<p class="image is-64x64 account-avatar">
|
||||||
@@ -85,32 +85,30 @@
|
|||||||
<nav class="level is-mobile">
|
<nav class="level is-mobile">
|
||||||
<div class="level-left">
|
<div class="level-left">
|
||||||
<a href="{% url "reply" toot.id %}" class="level-item">
|
<a href="{% url "reply" toot.id %}" class="level-item">
|
||||||
<span class="icon is-small"><span class="fa fa-reply">
|
<span class="fa fa-reply">
|
||||||
<span class="is-invisible">Reply</span>
|
<span class="is-hidden-mobile">Reply</span>
|
||||||
</span></span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
{% if toot.visibility != 'private' and toot.visibility != 'direct' %}
|
{% if toot.visibility != 'private' and toot.visibility != 'direct' %}
|
||||||
<a href="{% url "boost" toot.id %}" class="level-item">
|
<a href="{% url "boost" toot.id %}" class="level-item">
|
||||||
<span class="icon is-small">
|
|
||||||
{% if toot.reblogged %}
|
{% if toot.reblogged %}
|
||||||
<span class="fa fa-retweet has-text-warning">
|
<span class="fa fa-retweet has-text-warning">
|
||||||
<strong class="is-invisible" >Boosted</strong>
|
<strong class="is-hidden-mobile" >Boosted</strong>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="fa fa-retweet" >
|
<span class="fa fa-retweet" >
|
||||||
<span class="is-invisible" >Boost</span>
|
<span class="is-hidden-mobile" >Boost</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<a href="{% url "fav" toot.id %}" class="level-item">
|
<a href="{% url "fav" toot.id %}" class="level-item">
|
||||||
<span class="icon is-small">
|
|
||||||
{% if toot.favourited %}
|
{% if toot.favourited %}
|
||||||
<span class="fa fa-heart has-text-warning">
|
<span class="fa fa-heart has-text-warning">
|
||||||
<strong class="is-invisible" >Favorited</strong>
|
<strong class="is-hidden-mobile" >Favorited</strong>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="fa fa-heart">
|
<span class="fa fa-heart">
|
||||||
<span class="is-invisible" >Favorite</span>
|
<span class="is-hidden-mobile" >Favorite</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
@@ -125,9 +123,8 @@
|
|||||||
delete
|
delete
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<span class="level-item">
|
|
||||||
{{ toot.visibility }}
|
{{ toot.visibility }}
|
||||||
</span>
|
|
||||||
<a class="level-item" href="{% url "thread" toot.id %}">
|
<a class="level-item" href="{% url "thread" toot.id %}">
|
||||||
thread
|
thread
|
||||||
</a>
|
</a>
|
||||||
@@ -137,4 +134,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="media-right"></div>
|
<div class="media-right"></div>
|
||||||
</article>
|
</article>
|
||||||
|
Reference in New Issue
Block a user