Optimisation de la requête des ressources valides
[auf_savoirs_en_partage_django.git] / auf_savoirs_en_partage / templates / savoirs / ressource_resultat.html
CommitLineData
5212238e 1{% load sep %}
31249cf3 2{% load url from future %}
0b72ebef
EMS
3
4<div class="resultatRecherche">
cf4091c8 5 <div class="titre">
31249cf3 6 <a href="{% url "savoirs.views.ressource_retrieve" ressource.id %}">{{ ressource.title|apply:excerpt }}</a>
cf4091c8 7 </div>
d01d27e9 8 {% if ressource.creator %}
2b564f72 9 <div><span class="label">Auteur:</span> {{ ressource.creator|apply:excerpt }}</div>
d01d27e9
EMS
10 {% endif %}
11 {% if ressource.description %}
2b564f72 12 <div><span class="label">Résumé:</span> {{ ressource.description|apply:excerpt }}</div>
d01d27e9 13 {% endif %}
cf4091c8 14 <div class="details">
31249cf3 15 <div><span>Fiche: </span><a href="{% url "savoirs.views.ressource_retrieve" ressource.id %}">{% url "savoirs.views.ressource_retrieve" ressource.id %}</a></div>
cf4091c8
EMS
16 <div><span>Contenu original: </span><a target="_blank" href="{{ ressource.uri }}">{{ ressource.uri }}</a></div>
17 <div><span>Provenance: </span><a target="_blank" href="{{ ressource.getServeurURL }}">{{ ressource.getServeurURL }}</a></div>
18 </div>
0b72ebef 19</div>