Fix one more place where I didn't update templates

This commit is contained in:
Jason McBrayer 2018-05-23 14:04:51 -04:00
parent b0a2657296
commit e9097a950d

View File

@ -4,26 +4,26 @@
{% load taglinks %} {% load taglinks %}
{% block title %} {% block title %}
Brutaldon - {{ timeline }} timelime Brutaldon - {{ timeline }} timelime
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<div class="card"> <div class="card">
{% if not fullbrutalism %} {% if not fullbrutalism %}
<div class="card-header" style="background-image: url({{ user.header }});"> <div class="card-header" style="background-image: url({{ user.header }});">
{% else %} {% else %}
<div class="card-header"> <div class="card-header">
{% endif %} {% endif %}
<div class="card-header-title title"> <div class="card-header-title title">
<a href="{{ user.url }}"> <a href="{{ user.url }}">
{{ user.display_name }} {{ user.display_name }}
</a> </a>
</div> </div>
<figure class="image is-96x96 card-header-icon"> <figure class="image is-96x96 card-header-icon">
<img src="{{ user.avatar }}" alt="Avatar"> <img src="{{ user.avatar }}" alt="Avatar">
</figure> </figure>
</div> </div>
<div class="card-content"> <div class="card-content">
<div class="content"> <div class="content">
{{ user.note | relink_toot | strip_html | safe }} {{ user.note | relink_toot | strip_html | safe }}
@ -34,14 +34,12 @@
<br> <br>
{% for toot in toots %} {% for toot in toots %}
<div class="box"> {% if toot.reblog %}
{% if toot.reblog %} {% include "main/toot_partial.html" with toot=toot.reblog reblog=True reblog_by=toot.account.acct reblog_icon=toot.account.avatar %}
{% include "main/toot_partial.html" with toot=toot.reblog reblog=True reblog_by=toot.account.acct reblog_icon=toot.account.avatar %} {% else %}
{% else %} {% include "main/toot_partial.html" with toot=toot reblog=False %}
{% include "main/toot_partial.html" with toot=toot reblog=False %} {% endif %}
{% endif %} <hr class="is-hidden">
</div>
<hr class="is-hidden">
{% endfor %} {% endfor %}
<nav class="pagination" role="navigation" aria-label="pagination"> <nav class="pagination" role="navigation" aria-label="pagination">
@ -61,4 +59,4 @@
</li> </li>
</ul> </ul>
</nav> </nav>
{% endblock %} {% endblock %}