signature_banned.html 761 B

1234567891011121314151617
  1. {% extends "sora/users/usercp/usercp.html" %}
  2. {% load i18n %}
  3. {% load url from future %}
  4. {% import "sora/macros.html" as macros with context %}
  5. {% block title %}{{ macros.page_title(title=_('Edit your Signature')) }}{% endblock %}
  6. {% block action %}
  7. {{ super() }}
  8. <h2>{% trans %}Edit your Signature{% endtrans %}</h2>
  9. {% if user.signature_ban_reason_user %}
  10. <p class="lead">{% trans username=user.username %}{{ username }}, your ability to edit your signature has been removed for following reason:{% endtrans %}</p>
  11. {{ user.signature_ban_reason_user|markdown|safe }}
  12. {% else %}
  13. <p class="lead">{% trans username=user.username %}{{ username }}, your ability to edit your signature has been removed.{% endtrans %}</p>
  14. {% endif %}
  15. {% endblock %}