Commit f82b8354 by Damien Moulard

in prestataire vitrine, only display conventionnement percentage for logged…

in prestataire vitrine, only display conventionnement percentage for logged users & make more visible
parent 7b23e444
......@@ -44,15 +44,15 @@
{% if presta.siret != null %}
<h5 class="card-subtitle mb-3">{{'SIRET'|trans}} : {{ presta.siret }}</h5>
{% endif %}
{% if app.user and presta_extra_data and presta.conventionnement != null and presta.conventionnement > 0 %}
<h5 class="card-subtitle mb-3">{{'Pourcentage de conventionnement'|trans}} : {{ presta.conventionnement * 100 }}%</h5>
{% endif %}
{% if presta.horaires != null %}
<h6 class="card-subtitle text-muted mb-3">{{'Horaires'|trans}} : {{ presta.horaires|raw }}</h6>
{% endif %}
{% if presta.web != null %}
<h6 class="card-subtitle mb-3">{{'Site web'|trans}} : <a href='{{ presta.web }}' target='_blank' rel='noopener noreferrer'>{{ presta.web }}</a></h6>
{% endif %}
{% if presta_extra_data and presta.conventionnement != null and presta.conventionnement > 0 %}
<h6 class="card-subtitle mb-3">{{'Pourcentage de conventionnement'|trans}} : {{ presta.conventionnement * 100 }}%</h6>
{% endif %}
{# {% if presta.responsable != null and presta.metier != null %}
<h6 class="card-title my-3">Responsable : {{ presta.responsable }} ({{ presta.metier }})</h6>
{% endif %} #}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment