59 lines
1.7 KiB
HTML
59 lines
1.7 KiB
HTML
|
{% extends "base.html" %}
|
||
|
{% load taglinks %}
|
||
|
{% load sanitizer %}
|
||
|
|
||
|
{% block title %}Brutaldon - confirm (un)block {% endblock %}
|
||
|
|
||
|
{% block content %}
|
||
|
{% if relationship.blocking %}
|
||
|
<h1 class="title">Unblock this user?</h1>
|
||
|
{% else %}
|
||
|
<h1 class="title">Block this user?</h1>
|
||
|
{% endif %}
|
||
|
|
||
|
<article class="media user-info">
|
||
|
<figure class="media-left">
|
||
|
<p class="image is-64x64">
|
||
|
<a href="{% url "user" user.acct %}">
|
||
|
<img src="{{ user.avatar }}"
|
||
|
alt="">
|
||
|
</a>
|
||
|
</p>
|
||
|
</figure>
|
||
|
<div class="media-content">
|
||
|
<div class="content">
|
||
|
<p>
|
||
|
<strong>{{ user.display_name }}</strong>
|
||
|
<small>
|
||
|
<a href="{% url "user" user.acct %}">
|
||
|
@{{ user.acct }}
|
||
|
</a>
|
||
|
</small>
|
||
|
</p>
|
||
|
{{ user.note | relink_toot | strip_html | safe }}
|
||
|
<p>
|
||
|
</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
|
||
|
<form method="POST" action="{% url 'block' user.id %}">
|
||
|
{% csrf_token %}
|
||
|
<div class="level is-mobile">
|
||
|
<div class="level-left">
|
||
|
<div class="level-item">
|
||
|
<input class="button" type="submit" name="cancel" value="Cancel">
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="level-right">
|
||
|
<div class="level-item">
|
||
|
<input class="button is-primary" type="submit" name="block"
|
||
|
value="Confirm">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
|
|
||
|
{% endblock %}
|