2018-05-01 00:49:06 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %} Brutaldon - confirm boost {% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
{% if toot.reblogged %}
|
|
|
|
<h1 class="title">Unboost that toot?</h1>
|
|
|
|
{% else %}
|
|
|
|
<h1 class="title" >Boost that toot?</h1>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<div class="box">
|
|
|
|
{% include "main/toot_partial.html" with toot=toot %}
|
|
|
|
</div>
|
|
|
|
<form method="POST" action="{% url "boost" toot.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">
|
2018-05-01 14:54:22 +02:00
|
|
|
{% if toot.reblogged %}
|
|
|
|
<input class="button is-primary" type="submit" name="boost"
|
|
|
|
value="Unboost">
|
|
|
|
{% else %}
|
|
|
|
<input class="button is-primary" type="submit" name="boost"
|
|
|
|
value="Boost">
|
|
|
|
{% endif %}
|
2018-05-01 00:49:06 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
{% endblock %}
|