khaganat-web/neluser/templates/neluser/settings/preferences/nsfw.html
2020-02-28 19:06:37 +01:00

17 lines
562 B
HTML

{% extends "neluser/settings/preferences/base.html" %}
{% load i18n %}
{% block title %}{% trans "NSFW content" %}{% endblock %}
{% block inner_panel %}
{% if nsfw_allowed %}
<p>{% trans "Safe mode is disabled, you may see not safe for work content." %}</p>
<p>
<a href="{% url 'disable_nsfw' %}?next={{ current_url }}">{% trans "Enable safe mode" %}</a>.
</p>
{% else %}
<p>{% trans "Safe mode enabled, not safe for work content is hidden." %}</p>
{% include "nsfw/duration.html" with not_current="true" next_url=current_url %}
{% endif %}
{% endblock %}