When going to a thread (via thread or reply), jump to the active toot
This commit is contained in:
parent
b17c56fec3
commit
7f331eeb48
|
@ -61,7 +61,7 @@
|
||||||
</div>
|
</div>
|
||||||
{% if toot.card.description %}
|
{% if toot.card.description %}
|
||||||
<div class="card-content columns">
|
<div class="card-content columns">
|
||||||
{% if toot.card.image and not toot.media_attachments %}
|
{% if toot.card.image %}
|
||||||
<div class="column is-one-third">
|
<div class="column is-one-third">
|
||||||
<figure>
|
<figure>
|
||||||
<a href="{{ toot.card.url }}">
|
<a href="{{ toot.card.url }}">
|
||||||
|
@ -138,7 +138,7 @@
|
||||||
{% if not confirm_page %}
|
{% if not confirm_page %}
|
||||||
<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 %}#toot-{{ toot.id }}" class="level-item">
|
||||||
{% if toot.replies_count > 0 %}
|
{% if toot.replies_count > 0 %}
|
||||||
<span class="fa fa-reply-all">
|
<span class="fa fa-reply-all">
|
||||||
<span class="is-hidden-mobile"><strong>Reply</strong></span>
|
<span class="is-hidden-mobile"><strong>Reply</strong></span>
|
||||||
|
@ -201,11 +201,11 @@
|
||||||
{{ toot.visibility }}
|
{{ toot.visibility }}
|
||||||
|
|
||||||
{% if toot.in_reply_to_id or toot.replies_count > 0 %}
|
{% if toot.in_reply_to_id or toot.replies_count > 0 %}
|
||||||
<a class="level-item" href="{% url "thread" toot.id %}">
|
<a class="level-item" href="{% url "thread" toot.id %}#toot-{{ toot.id }}">
|
||||||
<strong>thread</strong>
|
<strong>thread</strong>
|
||||||
</a>
|
</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a class="level-item" href="{% url "thread" toot.id %}">
|
<a class="level-item" href="{% url "thread" toot.id %}#toot-{{ toot.id }}">
|
||||||
thread
|
thread
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue