Fix formatting on Lynx

This commit is contained in:
Jason McBrayer 2018-04-26 19:46:05 -04:00
parent 2e7fc810ac
commit e773511726
3 changed files with 10 additions and 2 deletions

View File

@ -32,6 +32,7 @@
<br> <br>
{% include "main/toot_partial.html" with toot=note.status reblog=False %} {% include "main/toot_partial.html" with toot=note.status reblog=False %}
</div> </div>
<hr class="is-hidden">
{% elif note.type == 'reblog' %} {% elif note.type == 'reblog' %}
<div class="box"> <div class="box">
<p> <p>
@ -39,11 +40,12 @@
(<a href="{{ note.account.url }}">{{ note.account.acct }}</a>) (<a href="{{ note.account.url }}">{{ note.account.acct }}</a>)
boosted your toot. boosted your toot.
(<a href="{{ note.url }}"> (<a href="{{ note.url }}">
<small>{{ note.created_at |naturaltime }}</small> <small>{{ note.created_at |naturaltime }}</small>
</a>) </a>)
</p> </p>
{% include "main/toot_partial.html" with toot=note.status reblog=True reblog_by=note.account.acct reblog_icon=note.account.avatar %} {% include "main/toot_partial.html" with toot=note.status reblog=True reblog_by=note.account.acct reblog_icon=note.account.avatar %}
</div> </div>
<hr class="is-hidden">
{% elif note.type == 'favourite' %} {% elif note.type == 'favourite' %}
<div class="box" > <div class="box" >
<div class="level"> <div class="level">
@ -56,13 +58,14 @@
(<a href="{{ note.account.url }}">{{ note.account.acct }}</a>) (<a href="{{ note.account.url }}">{{ note.account.acct }}</a>)
favorited your toot. favorited your toot.
(<a href="{{ note.url }}"> (<a href="{{ note.url }}">
<small>{{ note.created_at |naturaltime }}</small> <small>{{ note.created_at |naturaltime }}</small>
</a>) </a>)
</div> </div>
</div> </div>
</div> </div>
{% include "main/toot_partial.html" with toot=note.status reblog=False %} {% include "main/toot_partial.html" with toot=note.status reblog=False %}
</div> </div>
<hr class="is-hidden">
{% elif note.type == 'follow' %} {% elif note.type == 'follow' %}
<div class="box" > <div class="box" >
<article class="media"> <article class="media">
@ -83,6 +86,7 @@
</div> </div>
</article> </article>
</div> </div>
<hr class="is-hidden">
{% endif %} {% endif %}
{% endfor %} {% endfor %}

View File

@ -20,14 +20,17 @@ mastodon.status_context(<numerical id>)
<div class="box"> <div class="box">
{% include "main/toot_partial.html" with toot=ancestor %} {% include "main/toot_partial.html" with toot=ancestor %}
</div> </div>
<hr class="is-hidden">
{% endfor %} {% endfor %}
<div class="box active_context"> <div class="box active_context">
{% include "main/toot_partial.html" with toot=toot %} {% include "main/toot_partial.html" with toot=toot %}
</div> </div>
<hr class="is-hidden">
{% for descendant in context.descendants %} {% for descendant in context.descendants %}
<div class="box"> <div class="box">
{% include "main/toot_partial.html" with toot=descendant %} {% include "main/toot_partial.html" with toot=descendant %}
</div> </div>
<hr class="is-hidden">
{% endfor %} {% endfor %}

View File

@ -59,6 +59,7 @@
{% endif %} {% endif %}
<br> <br>
</div> </div>
<p class="is-hidden"></p>
<nav class="level is-mobile"> <nav class="level is-mobile">
<div class="level-left"> <div class="level-left">
<a class="level-item"> <a class="level-item">