2018-07-12 07:56:55 +00:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<h2>{% trans %}Follow requests{% endtrans %}</h2>
|
2018-07-13 08:19:37 +00:00
|
|
|
{% if requests.count() %}
|
2018-07-12 07:56:55 +00:00
|
|
|
<ul>
|
2018-07-13 08:19:37 +00:00
|
|
|
{% for req in requests %}
|
2018-07-12 07:56:55 +00:00
|
|
|
<li>
|
|
|
|
{{ req.follower }}
|
2018-07-13 08:19:37 +00:00
|
|
|
<a href="{{ url_for('accept_follow', follower_id=req.follower_id) }}" class="ui button">{% trans %}Accept{% endtrans %}</a>
|
2018-07-12 07:56:55 +00:00
|
|
|
</li>
|
2018-07-13 08:19:37 +00:00
|
|
|
{% endfor %}
|
2018-07-12 07:56:55 +00:00
|
|
|
</ul>
|
2018-07-13 08:19:37 +00:00
|
|
|
{% else %}
|
|
|
|
{% trans %}No requests to display.{% endtrans %}
|
|
|
|
{% endif %}
|
|
|
|
{% if not current_user.profile.locked %}
|
|
|
|
<p>
|
|
|
|
{% trans %}Your profile is not locked.{% endtrans %}
|
|
|
|
{% trans %}Anyone can follow you without your consent.{% endtrans %}
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
2018-07-12 07:56:55 +00:00
|
|
|
{% endblock content %}
|