2019-01-08 23:40:59 +00:00
{% extends 'users/sidebar.html' %}
2017-01-15 23:07:42 +00:00
{% comment %}
Re2o est un logiciel d'administration développé initiallement au rezometz. Il
se veut agnostique au réseau considéré, de manière à être installable en
quelques clics.
Copyright © 2017 Gabriel Détraz
2019-09-29 14:02:28 +00:00
Copyright © 2017 Lara Kermarec
2017-01-15 23:07:42 +00:00
Copyright © 2017 Augustin Lemesle
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
{% endcomment %}
2016-07-08 00:25:12 +00:00
{% load bootstrap3 %}
2018-01-01 18:57:17 +00:00
{% load acl %}
2018-08-15 17:15:26 +00:00
{% load i18n %}
2016-07-08 00:25:12 +00:00
2018-08-15 17:15:26 +00:00
{% block title %}{% trans "Users" %}{% endblock %}
2016-07-08 00:25:12 +00:00
{% block content %}
2018-08-15 17:15:26 +00:00
< h2 > {% trans "List of schools" %}< / h2 >
2019-11-20 00:52:11 +00:00
< h5 > {% trans "List of schools for registered users" %}< / h5 >
2018-01-01 18:57:17 +00:00
{% can_create School %}
2019-11-20 00:52:11 +00:00
< a class = "btn btn-primary btn-sm" role = "button" href = "{% url 'users:add-school' %}" > < i class = "fa fa-plus" > < / i > {% trans "Add a school" %}< / a >
2018-01-01 18:57:17 +00:00
{% acl_end %}
2019-11-20 00:52:11 +00:00
< a class = "btn btn-danger btn-sm" role = "button" href = "{% url 'users:del-school' %}" > < i class = "fa fa-trash" > < / i > {% trans "Delete one or several schools" %}< / a >
2018-03-27 21:56:16 +00:00
< hr >
2019-01-08 23:40:59 +00:00
{% include 'users/aff_schools.html' with school_list=school_list %}
2016-07-08 00:25:12 +00:00
< br / >
< br / >
< br / >
{% endblock %}