{% if object.est_terminee %}<a href="{% url 'notes:details-maraude' object.id %}" class="btn btn-link">
{% else %}<a href="#" class="btn btn-link disabled">{% endif %}
  {{ object }}
</a>
<div class="float-right">
  <span class="badge badge-info">{{ object.binome }} & {{ object.referent }}</span>
  {% if object.est_terminee %}<span class="badge badge-success">
      {{object.rencontres.count}} rencontres
  </span>{% endif %}
</div>
