2
0
mirror of https://github.com/jfmcbrayer/brutaldon synced 2024-12-23 21:51:43 +01:00
brutaldon-interfaccia-web-m.../brutaldon/templates/main/user.html
2018-06-11 14:45:04 -04:00

64 lines
2.0 KiB
HTML

{% extends "base.html" %}
{% load humanize %}
{% load sanitizer %}
{% load taglinks %}
{% block title %}
Brutaldon - {{ timeline }} timelime
{% endblock %}
{% block content %}
<div class="card">
{% if not fullbrutalism %}
<div class="card-header" style="background-image: url({{ user.header }});">
{% else %}
<div class="card-header">
{% endif %}
<div class="card-header-title title">
<a href="{{ user.url }}">
{{ user.display_name }}
</a>
</div>
<figure class="image is-96x96 card-header-icon">
<img src="{{ user.avatar }}" alt="Avatar">
</figure>
</div>
<div class="card-content">
<div class="content">
{{ user.note | relink_toot | strip_html | safe }}
</div>
<div class="level">
<div class="level-left">
<a class="level-item fa fa-user-plus" title="follow">
<span class="is-hidden">Follow</span>
</a>
<a class="level-item fa fa-social-home" title="home">
<span class="is-hidden">View on home site</span>
</a>
</div>
<div class="level-right">
<a class="level-item fa fa-volume-off" title="mute">
<span class="is-hidden">Mute</span>
</a>
<a class="level-item fa fa-ban" title="block">
<span class="is-hidden">Block</span>
</a>
</div>
</div>
</div>
</div>
<br>
{% for toot in toots %}
{% if toot.reblog %}
{% include "main/toot_partial.html" with toot=toot.reblog reblog=True reblog_by=toot.account.acct reblog_icon=toot.account.avatar %}
{% else %}
{% include "main/toot_partial.html" with toot=toot reblog=False %}
{% endif %}
<hr class="is-hidden">
{% endfor %}
{% endblock %}