Slightly less messy boost status header
This commit is contained in:
parent
8550cbc710
commit
c883893dd6
|
@ -5,18 +5,20 @@
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<header class="card-header">
|
<header class="card-header">
|
||||||
<div class="card-header-title">
|
<div class="card-header-title">
|
||||||
<p>
|
<div class="columns">
|
||||||
{% if status.status_type == 'Boost' %}
|
<div class="column is-narrow">
|
||||||
{% include 'snippets/avatar.html' with user=status.user %}
|
{% if status.status_type == 'Boost' %}
|
||||||
{% include 'snippets/username.html' with user=status.user %}
|
{% include 'snippets/avatar.html' with user=status.user %}
|
||||||
boosted
|
{% include 'snippets/username.html' with user=status.user %}
|
||||||
</p>
|
boosted
|
||||||
<p>
|
</div>
|
||||||
{% include 'snippets/status_header.html' with status=status|boosted_status %}
|
<div class="column">
|
||||||
{% else %}
|
{% include 'snippets/status_header.html' with status=status|boosted_status %}
|
||||||
{% include 'snippets/status_header.html' with status=status %}
|
{% else %}
|
||||||
{% endif %}
|
{% include 'snippets/status_header.html' with status=status %}
|
||||||
</p>
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue