@ -25,15 +25,16 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% load bootstrap3 %}
{% load acl %}
{% load i18n %}
{% block title %}Machines{% endblock %}
{% block content %}
<h2>Liste des roles</h2>
<h2>{% trans "Roles list" %}</h2>
{% can_create Role %}
<aclass="btn btn-primary btn-sm"role="button"href="{% url 'machines:add-role' %}"><iclass="fa fa-plus"></i>Ajouter un role</a>
<aclass="btn btn-primary btn-sm"role="button"href="{% url 'machines:add-role' %}"><iclass="fa fa-plus"></i>{% trans "Add role"%}</a>
{% acl_end %}
<aclass="btn btn-danger btn-sm"role="button"href="{% url 'machines:del-role' %}"><iclass="fa fa-trash"></i>Supprimer un ou plusieurs role</a>
<aclass="btn btn-danger btn-sm"role="button"href="{% url 'machines:del-role' %}"><iclass="fa fa-trash"></i>{% trans "Delete one or several roles" %}</a>
{% include "machines/aff_role.html" with role_list=role_list %}