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

View File

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

View File

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