Skip to content

Commit

Permalink
Merge pull request #70 from ecolabdata/fix/select-list
Browse files Browse the repository at this point in the history
  • Loading branch information
abulte authored Oct 17, 2024
2 parents a6892ee + f832d35 commit 06f2eac
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions isomorphe/templates/fragments/select_preview.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,15 @@
<thead>
<tr>
<th scope="col">Identifiant</th>
<th scope="col">Fiche XML</th>
<th scope="col">Type</th>
<th scope="col">Statut</th>
<th scope="col">Titre</th>
<th scope="col">Fiche web</th>
<th scope="col">Fiche XML</th>
</tr>
</thead>
<tbody>
{% for result in results %}
<tr id="table-md-row-key-{{ loop.index }}" data-row-key="{{ loop.index }}">
<td>{{ result.uuid }}</td>
<td>{{ "Template" if result.template else "Record" }}</td>
<td>{{ "Draft" if (result.state and result.state.stage == "working_copy") else "-" }}</td>
<td>{{ result.title }}</td>
<td>
<a href="{{ url }}/fre/catalog.search#/metadata/{{ result.uuid }}"
target="_blank"
Expand All @@ -32,6 +27,9 @@
target="_blank"
rel="noopener">Voir le XML</a>
</td>
<td>{{ "Template" if result.template else "Record" }}</td>
<td>{{ "Draft" if (result.state and result.state.stage == "working_copy") else "-" }}</td>
<td>{{ result.title }}</td>
</tr>
{% endfor %}
</tbody>
Expand Down

0 comments on commit 06f2eac

Please sign in to comment.