schema_info_part.html 815 Bytes
Newer Older
Pierre Dittgen's avatar
Pierre Dittgen committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
<h5 class="card-title">
    Schéma
    {% if val_info.title %}
    « {{ val_info.title }} »
    {% endif %}
    {#
    <span class="badge badge-primary">{{ val_info.version }}</span>
    #}
</h5>
{% if val_info.description %}
<h6 class="card-subtitle mb-2 text-muted">{{ val_info.description }}</h6>
{% endif %}
{% if val_info.author or val_info.contributor %}
<p>
    {% if val_info.author %}
    Auteur : {{ val_info.author }}
    {% endif %}
    {% if val_info.contributor %}
    <br />Contributeur(s) : {{ val_info.contributor }}
    {% endif %}
</p>
{% endif %}
<p>
    {% if val_info.doc_url %}
    <a href="{{ val_info.doc_url }}" target="_blank" class="card-link">Documentation</a>
    {% else %}
    <a href="{{ schema_url }}" target="_blank" class="card-link">{{ schema_url }}</a>
    {% endif %}
</p>