diff --git a/search/templates/search/include/result_items/document/social_production.html b/search/templates/search/include/result_items/document/social_production.html index e51c68bc..0ff2b0a8 100644 --- a/search/templates/search/include/result_items/document/social_production.html +++ b/search/templates/search/include/result_items/document/social_production.html @@ -8,19 +8,16 @@
{% if result_number %} - {{ result_number }}. + {{ result_number }}. {% endif %} {% if doc.source.action %} - {{ doc.source.action }} - {% endif %} - {% if doc.source.directory_type %} - {{ doc.source.directory_type }} + {{ doc.source.action }} {% endif %} {% if doc.source.practice %} - {{ doc.source.practice }} + {{ doc.source.practice }} {% endif %} {% if doc.source.classification %} - {{ doc.source.classification }} + {{ doc.source.classification }} {% endif %}
@@ -38,14 +35,13 @@

{{ display_title }} {% endif %}

- - {% if doc.source.organization or doc.source.start_date %} + {% if doc.source.organization or doc.source.start_date_year %}

{% if doc.source.organization %} {% for org in doc.source.organization %}{{ org }}{% if not forloop.last %}, {% endif %}{% endfor %} {% endif %} - {% if doc.source.start_date %} - {% trans "Registro" %} {{ doc.source.start_date|format_date_br }} + {% if doc.source.start_date_year %} + {% trans "Registro" %}: {{ doc.source.start_date_year }} {% endif %}

{% endif %} @@ -69,7 +65,7 @@

{% if display_description %}
- {{ display_description|truncatewords:50 }} + {{ display_description }}
{% endif %}