2017-01-15 23:48:09 +00:00
|
|
|
{% extends "search/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
|
|
|
|
Copyright © 2017 Goulven Kermarec
|
|
|
|
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-02 22:27:22 +00:00
|
|
|
{% load bootstrap3 %}
|
2018-08-05 16:48:45 +00:00
|
|
|
{% load i18n %}
|
2016-07-02 22:27:22 +00:00
|
|
|
|
2018-08-05 16:48:45 +00:00
|
|
|
{% block title %}{% trans "Search results" %}{% endblock %}
|
2016-07-02 22:27:22 +00:00
|
|
|
|
|
|
|
{% block content %}
|
2017-11-07 00:46:45 +00:00
|
|
|
{% if users %}
|
2018-08-05 16:48:45 +00:00
|
|
|
<h2>{% trans "Results among users:" %}</h2>
|
2017-11-07 00:46:45 +00:00
|
|
|
{% include "users/aff_users.html" with users_list=users %}
|
2016-07-02 22:27:22 +00:00
|
|
|
{% endif%}
|
2018-03-18 00:50:51 +00:00
|
|
|
{% if clubs %}
|
2018-08-05 16:48:45 +00:00
|
|
|
<h2>{% trans "Results among clubs:" %}</h2>
|
2018-03-18 00:50:51 +00:00
|
|
|
{% include "users/aff_clubs.html" with clubs_list=clubs %}
|
|
|
|
{% endif%}
|
2017-11-07 00:46:45 +00:00
|
|
|
{% if machines %}
|
2018-08-05 16:48:45 +00:00
|
|
|
<h2>{% trans "Results among machines:" %}</h2>
|
2017-11-07 00:46:45 +00:00
|
|
|
{% include "machines/aff_machines.html" with machines_list=machines %}
|
2016-07-02 22:27:22 +00:00
|
|
|
{% endif %}
|
2017-11-07 00:46:45 +00:00
|
|
|
{% if factures %}
|
2018-08-05 16:48:45 +00:00
|
|
|
<h2>{% trans "Results among invoices:" %}</h2>
|
2017-11-07 00:46:45 +00:00
|
|
|
{% include "cotisations/aff_cotisations.html" with facture_list=factures %}
|
2016-07-02 22:27:22 +00:00
|
|
|
{% endif %}
|
2017-11-07 00:46:45 +00:00
|
|
|
{% if whitelists %}
|
2018-08-05 16:48:45 +00:00
|
|
|
<h2>{% trans "Results among whitelists:" %}</h2>
|
2017-11-07 00:46:45 +00:00
|
|
|
{% include "users/aff_whitelists.html" with white_list=whitelists %}
|
2016-07-04 21:56:51 +00:00
|
|
|
{% endif %}
|
2017-11-07 00:46:45 +00:00
|
|
|
{% if bans %}
|
2018-08-05 16:48:45 +00:00
|
|
|
<h2>{% trans "Results among bans:" %}</h2>
|
2017-11-07 00:46:45 +00:00
|
|
|
{% include "users/aff_bans.html" with ban_list=bans %}
|
2016-07-02 22:27:22 +00:00
|
|
|
{% endif %}
|
2017-11-07 00:46:45 +00:00
|
|
|
{% if rooms %}
|
2018-08-05 16:48:45 +00:00
|
|
|
<h2>{% trans "Results among rooms:" %}</h2>
|
2017-11-07 00:46:45 +00:00
|
|
|
{% include "topologie/aff_chambres.html" with room_list=rooms %}
|
2017-11-02 16:06:44 +00:00
|
|
|
{% endif %}
|
2017-11-07 00:46:45 +00:00
|
|
|
{% if ports %}
|
2018-08-05 16:48:45 +00:00
|
|
|
<h2>{% trans "Results among ports" %}</h2>
|
2017-11-07 00:46:45 +00:00
|
|
|
{% include "topologie/aff_port.html" with port_list=ports %}
|
2017-11-02 15:09:24 +00:00
|
|
|
{% endif %}
|
2017-11-07 00:46:45 +00:00
|
|
|
{% if switches %}
|
2018-08-05 16:48:45 +00:00
|
|
|
<h2>{% trans "Results among switches" %}</h2>
|
2017-11-07 00:46:45 +00:00
|
|
|
{% include "topologie/aff_switch.html" with switch_list=switches %}
|
2016-07-06 21:53:44 +00:00
|
|
|
{% endif %}
|
2017-11-07 00:46:45 +00:00
|
|
|
{% if not users and not machines and not factures and not whitelists and not bans and not rooms and not ports and not switches %}
|
2018-08-05 16:48:45 +00:00
|
|
|
<h3>{% trans "No result" %}</h3>
|
2017-11-02 15:09:24 +00:00
|
|
|
{% else %}
|
2018-08-05 16:48:45 +00:00
|
|
|
<h6>{% blocktrans %}(Only the first {{ max_result }} results are displayed in each category){% endblocktrans %}</h6>
|
2016-07-02 23:37:58 +00:00
|
|
|
{% endif %}
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
<br />
|
2016-07-02 22:27:22 +00:00
|
|
|
{% endblock %}
|
2018-08-05 16:48:45 +00:00
|
|
|
|