X-Git-Url: http://git.auf.org/?p=auf_savoirs_en_partage_django.git;a=blobdiff_plain;f=auf_savoirs_en_partage%2Ftemplates%2Fsavoirs%2Frecherche.html;h=4b3587b7ab2ab7af98195053c179129c3e262342;hp=33d1ca71a61c9d13c0e7d27b8a83c93830c60910;hb=a2c6bb7226b901738528c5984547976a15b713cb;hpb=7d07a79f69250a08abdf2b9a98f60b788a4ec275
diff --git a/auf_savoirs_en_partage/templates/savoirs/recherche.html b/auf_savoirs_en_partage/templates/savoirs/recherche.html
index 33d1ca7..4b3587b 100644
--- a/auf_savoirs_en_partage/templates/savoirs/recherche.html
+++ b/auf_savoirs_en_partage/templates/savoirs/recherche.html
@@ -21,48 +21,51 @@
-{% if ressources %}
-
+ {% if ressources %}
+
Ressources correspondant à « {{ q }} » ({{ ressources|length }} sur {{ total_ressources }}):
{% for ressource in ressources %}
{% include "savoirs/ressource_resultat.html" %}
{% endfor %}
{% ifnotequal ressources|length total_ressources %}
Toutes les {{ total_ressources }} ressources correspondant à « {{ q }} »
{% endifnotequal %}
-
-{% endif %}
+ {% endif %}
-{% if actualites %}
-
+ {% if actualites %}
+
Actualités correspondant à « {{ q }} » ({{ actualites|length }} sur {{ total_actualites }}):
{% for actualite in actualites %}
{% include "savoirs/actualite_resultat.html" %}
{% endfor %}
{% ifnotequal actualites|length total_actualites %}
Toutes les {{ total_ressources }} actualités correspondant à « {{ q }} »
{% endifnotequal %}
-
-{% endif %}
+ {% endif %}
-{% if evenements %}
-
+ {% if evenements %}
+
Ãvénements correspondant à « {{ q }} » ({{ evenements|length }} sur {{ total_evenements }}):
{% for evenement in evenements %}
{% include "savoirs/evenement_resultat.html" %}
{% endfor %}
{% ifnotequal evenements|length total_evenements %}
Tous les {{ total_evenements }} événements correspondant à « {{ q }} »
{% endifnotequal %}
-
-{% endif %}
+ {% endif %}
-{% if not ressources and not actualites and not evenements %}
-
+ {% if chercheurs %}
+
Chercheurs correspondant à « {{ q }} » ({{ chercheurs|length }} sur {{ total_chercheurs }}):
+
+ {% endif %}
+
+ {% if not ressources and not actualites and not evenements and not chercheurs %}
+
Aucune ressource ne correspond à « {{ q }} »
Retour à la page d'accueil
+ {% endif %}
-{% endif %}
{% if user.is_authenticated %}
{% include "savoirs/editor.html" %}