Skip to content

Commit

Permalink
Corrige l'affichage des boutons d'action sur les enregistrments
Browse files Browse the repository at this point in the history
  • Loading branch information
funelie authored and LoanR committed Mar 29, 2024
1 parent 903f87a commit 62f5322
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
18 changes: 9 additions & 9 deletions web/b3desk/templates/meeting/recordings.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ <h3>
</div>
</td>
<td style="vertical-align: middle">
<div class="fr-grid-row fr-grid-row--gutters">
<a class="fr-btn fr-btn--primary fr-mr-2w fr-mt-1w" target="_blank" rel="noopener" href="{{ playback.url }}" title="Voir l'enregistrement"><span class="fr-icon-play-line"></span></a>
<button type="button" class="btn-copy fr-btn fr-btn--primary fr-mr-2w fr-mt-1w" id="meeting-{{ meeting.id }}-moderator-copy" onclick="navigator.clipboard.writeText('{{ playback.url }}');" title="Copier le lien de l'enregistrement dans le presse-papiers">
<div class="fr-grid-row fr-grid-row--gutters btn-actions">
<a class="fr-btn fr-btn--primary fr-mx-1w" target="_blank" rel="noopener" href="{{ playback.url }}" title="Voir l'enregistrement"><span class="fr-icon-play-line"></span></a>
<button type="button" class="btn-copy fr-btn fr-btn--primary fr-mx-1w"" id="meeting-{{ meeting.id }}-moderator-copy" onclick="navigator.clipboard.writeText('{{ playback.url }}');" title="Copier le lien de l'enregistrement dans le presse-papiers">
<span class="fr-icon-clipboard-line"></span>
</button>
{% if recording.playbacks.get("video") %}
<a class="fr-btn fr-btn--primary fr-mr-2w fr-mt-1w" download target="_blank" rel="noopener" href="{{ recording.playbacks['video'].url }}" title="Voir l'enregistrement mp4 (fichier téléchargeable) et le chat">mp4</a>
<a class="fr-btn fr-btn--primary fr-mx-1w"" download target="_blank" rel="noopener" href="{{ recording.playbacks['video'].url }}" title="Voir l'enregistrement mp4 (fichier téléchargeable) et le chat">mp4</a>
{% endif %}
<button class="fr-btn fr-btn--secondary fr-fi-delete-line" data-fr-opened="false" aria-controls="delete-video-{{ recording.recordID }}">
<button class="fr-btn fr-btn--secondary fr-fi-delete-line fr-mx-1w"" data-fr-opened="false" aria-controls="delete-video-{{ recording.recordID }}">
{% trans meeting_name=meeting.name %}Supprimer video de {{ meeting_name }}{% endtrans %}
</button>
</div>
Expand Down Expand Up @@ -128,18 +128,18 @@ <h1 id="delete-video-{{ recording.recordID }}-title" class="fr-modal__title">
</form>
</div>
</div>
<dialog id="rename-video-{{ r.recordID }}" class="fr-modal" role="dialog" aria-labelledby="rename-video-{{ r.recordID }}-title">
<dialog id="rename-video-{{ recording.recordID }}" class="fr-modal" role="dialog" aria-labelledby="rename-video-{{ recording.recordID }}-title">
<div class="fr-container fr-container--fluid fr-container-md">
<div class="fr-grid-row fr-grid-row--center">
<div class="fr-col-12 fr-col-md-8 fr-col-lg-6">
<div class="fr-modal__body">
<div class="fr-modal__header">
<button class="fr-btn--close fr-btn" aria-controls="rename-video-{{ r.recordID }}" title="Fermer">
<button class="fr-btn--close fr-btn" aria-controls="rename-video-{{ recording.recordID }}" title="Fermer">
Fermer
</button>
</div>
<div class="fr-modal__content">
<form method="POST" action="{{ url_for('meetings.update_recording_name', meeting=meeting, recording_id=r.recordID) }}">
<form method="POST" action="{{ url_for('meetings.update_recording_name', meeting=meeting, recording_id=recording.recordID) }}">
{% include 'meeting/csrf.html' %}
<div class="fr-input-group">
{{ form.name.label(class_="fr-label") }}
Expand All @@ -153,7 +153,7 @@ <h1 id="delete-video-{{ recording.recordID }}-title" class="fr-modal__title">
</div>
<ul class="fr-btns-group fr-btns-group--inline-reverse fr-btns-group--inline-lg fr-btns-group--right">
<li>
<input type="submit" class="fr-btn fr-btn--primary fr-mt-1w" id="update-recording-{{ r.recordID }}" title="Modifier le nom de l'enregistrement" value="Renommer"></input>
<input type="submit" class="fr-btn fr-btn--primary fr-mt-1w" id="update-recording-{{ recording.recordID }}" title="Modifier le nom de l'enregistrement" value="Renommer"></input>
</li>
<li>
<button type="reset" class="fr-btn fr-btn--secondary js-modal-close" >Annuler</button>
Expand Down
1 change: 0 additions & 1 deletion web/b3desk/templates/meeting/row.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
<button class="fr-btn fr-btn--secondary fr-fi-delete-line" data-fr-opened="false" aria-controls="delete-{{ meeting.id }}">
Supprimer {{ meeting.name }}
</button>

</div>
{% endif %}
</div>

0 comments on commit 62f5322

Please sign in to comment.