{% extends "languages/base.html" %}

{% load assets i18n %}

{% block title %}{% trans "Permissions" %} | {{ block.super }}{% endblock %}

{% block content %}
<div class="settings-container centered" lang="{{ LANGUAGE_CODE }}">
  <p class="info">{% trans "Below you can add, edit, and delete the permissions for this language." %}</p>
  <p class="help">
    {% trans "The user “nobody” refers to any user that is not logged in (an anonymous, unidentified user). The user “default” refers to the rights that all logged in users will have by default, unless other specific rights were assigned to them." %}
  </p>
  {% include "admin/_generic_formset.html" %}
</div>
{% endblock %}

{% block scripts_extra %}
{% assets 'js_admin_general_app' %}
<script type="text/javascript" src="{{ ASSET_URL }}"></script>
{% endassets %}
<script type="text/javascript">
  $(function () {
    PTL.commonAdmin.init({page: 'permissions'});
  });
</script>
{% endblock %}
