Browse Source

data-priority sur la page parties des MJ

garthh 2 weeks ago
parent
commit
d42ac3080b
1 changed files with 7 additions and 7 deletions
  1. 7 7
      templates/profile/gamemastering.html.twig

+ 7 - 7
templates/profile/gamemastering.html.twig

@@ -27,11 +27,11 @@
         <table id="datatable" {{ stimulus_controller('datatables') }} class="table is-striped is-hoverable is-fullwidth">
             <thead>
             <tr>
-                <th>Événement</th>
-                <th>Jeu</th>
-                <th>Date et heure</th>
-                <th>Participant(e)s</th>
-                <th>Action</th>
+                <th data-priority="2">Événement</th>
+                <th data-priority="1">Jeu</th>
+                <th data-priority="1">Date et heure</th>
+                <th data-priority="3">Participant(e)s</th>
+                <th data-priority="1">&nbsp</th>
             </tr>
             </thead>
             <tbody>
@@ -43,9 +43,9 @@
                     <td>{{ participation.getSeatsOccuped }} / {{ participation.getMaxParticipants }}</td>
                     <td>
                         {% if participation.getSeatsOccuped > 0 %}
-                      <a href="{{ path('app_checkin_party', {id: participation.id}) }}" class="button open-modal">Checkins</a> 
+                      <a href="{{ path('app_checkin_party', {id: participation.id}) }}" class="button open-modal"><span class="icon"><twig:ux:icon name="bi:person-fill-check"/></span></a> 
                     {% else %}
-                        <button class="button" disabled>Checkins</button>
+                        <button class="button" disabled><span class="icon"><twig:ux:icon name="bi:person-fill-check"/></span></button>
                       {% endif %}
                     </td>
                 </tr>