<commit_before><h2>{t}Détail du modèle de métadonnées{/t} <i>{$data.metadata_name}</i></h2>
<div class="row">
    <a href="index.php?module=metadataList">
        <img src="display/images/list.png" height="25">
        {t}Retour à la liste{/t}
    </a>
    {if $droits.collection == 1}
        &nbsp;
        <a href="index.php?module=metadataChange&metadata_id={$data.metadata_id}">
            <img src="display/images/edit.gif" height="25">
            {t}Modifier{/t}
        </a>
    {/if}
</div>
<div class="row">
    <table id="metadataList" class="table table-bordered table-hover datatable-nosort " >
        <thead>
            <tr>
                <th>{t}Nom du champ{/t}</th>
                <th>{t}Type{/t}</th>
                <th>{t}Description{/t}</th>
                <th>{t}Obligatoire ?{/t}</th>
                <th>{t}Sélection multiple possible ?{/t}</th>
                <th>{t}Unité de mesure{/t}</th>
                <th>{t}Utilisable pour les recherches ?{/t}</th>
            </tr>
        </thead>
        <tbody>
            {foreach $metadata as $row}
                <tr>
                    <td>{$row.name}</td>
                    <td>{$row.type}</td>
                    <td>{$row.description}</td>
                    <td class="center">{if $row.required == true}{t}oui{/t}{/if}</td>
                    <td class="center">{if $row.multiple == "yes"}{t}oui{/t}{/if}</td>
                    <td>{$row.measureUnit}</td>
                    <td class="center">{if $row.isSearchable == "yes"}{t}oui{/t}{/if}</td>
                </tr>
            {/foreach}
        </tbody>
    </table>
</div>
<commit_msg>:feat metadata: ajout du numéro d'ordre du champ de métadonnée<commit_after><h2>{t}Détail du modèle de métadonnées{/t} <i>{$data.metadata_name}</i></h2>
<div class="row">
    <a href="index.php?module=metadataList">
        <img src="display/images/list.png" height="25">
        {t}Retour à la liste{/t}
    </a>
    {if $droits.collection == 1}
        &nbsp;
        <a href="index.php?module=metadataChange&metadata_id={$data.metadata_id}">
            <img src="display/images/edit.gif" height="25">
            {t}Modifier{/t}
        </a>
    {/if}
</div>
<div class="row">
    <table id="metadataList" class="table table-bordered table-hover datatable" >
        <thead>
            <tr>
                <th>{t}N° d'ordre{/t}</th>
                <th>{t}Nom du champ{/t}</th>
                <th>{t}Type{/t}</th>
                <th>{t}Description{/t}</th>
                <th>{t}Obligatoire ?{/t}</th>
                <th>{t}Sélection multiple possible ?{/t}</th>
                <th>{t}Unité de mesure{/t}</th>
                <th>{t}Utilisable pour les recherches ?{/t}</th>
            </tr>
        </thead>
        <tbody>
            {foreach $metadata as $row}
                <tr>
                    <td class="center">{$row@iteration}</td>
                    <td>{$row.name}</td>
                    <td>{$row.type}</td>
                    <td>{$row.description}</td>
                    <td class="center">{if $row.required == true}{t}oui{/t}{/if}</td>
                    <td class="center">{if $row.multiple == "yes"}{t}oui{/t}{/if}</td>
                    <td>{$row.measureUnit}</td>
                    <td class="center">{if $row.isSearchable == "yes"}{t}oui{/t}{/if}</td>
                </tr>
            {/foreach}
        </tbody>
    </table>
</div>
{'fraction_non_alphanumeric': 0.2, 'fraction_numerical': 0.004093567251461989, 'mean_word_length': 1.6894654088050314, 'pattern_counts': {'":': 0, '<': 111, '<?xml version=': 0, '>': 111, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3422921', 'n_tokens_mistral': 1206, 'n_tokens_neox': 1168, 'n_words': 191}