2016-07-04 21:56:51 +00:00
|
|
|
{% extends "search/sidebar.html" %}
|
2016-07-02 22:27:22 +00:00
|
|
|
{% load bootstrap3 %}
|
|
|
|
|
2016-07-03 16:09:58 +00:00
|
|
|
{% block title %}Résultats de la recherche{% endblock %}
|
2016-07-02 22:27:22 +00:00
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
{% if users_list %}
|
|
|
|
<h2>Résultats dans les utilisateurs</h2>
|
2016-07-03 16:09:58 +00:00
|
|
|
{% include "users/aff_users.html" with users_list=users_list %}
|
2016-07-02 22:27:22 +00:00
|
|
|
{% endif%}
|
|
|
|
{% if machine_list %}
|
|
|
|
<h2>Résultats dans les machines : </h2>
|
2016-07-04 00:48:24 +00:00
|
|
|
{% include "machines/aff_machines.html" with machine_list=machine_list %}
|
2016-07-02 22:27:22 +00:00
|
|
|
{% endif %}
|
|
|
|
{% if facture_list %}
|
|
|
|
<h2>Résultats dans les factures : </h2>
|
2016-07-03 16:09:58 +00:00
|
|
|
{% include "cotisations/aff_cotisations.html" with facture_list=facture_list %}
|
2016-07-02 22:27:22 +00:00
|
|
|
{% endif %}
|
2016-07-04 21:56:51 +00:00
|
|
|
{% if white_list %}
|
|
|
|
<h2>Résultats dans les accès à titre gracieux : </h2>
|
|
|
|
{% include "users/aff_whitelists.html" with white_list=white_list %}
|
|
|
|
{% endif %}
|
2016-07-02 22:27:22 +00:00
|
|
|
{% if ban_list %}
|
|
|
|
<h2>Résultats dans les banissements : </h2>
|
2016-07-03 16:09:58 +00:00
|
|
|
{% include "users/aff_bans.html" with ban_list=ban_list %}
|
2016-07-02 22:27:22 +00:00
|
|
|
{% endif %}
|
2016-07-04 21:56:51 +00:00
|
|
|
{% if not ban_list and not machine_list and not users_list and not facture_list and not white_list%}
|
2016-07-02 23:37:58 +00:00
|
|
|
<h3>Aucun résultat</h3>
|
|
|
|
{% endif %}
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
<br />
|
2016-07-02 22:27:22 +00:00
|
|
|
{% endblock %}
|
|
|
|
|