|
12 | 12 | </h4> |
13 | 13 |
|
14 | 14 | <% dossiers_by_notification_type.each do |notification_type, dossiers| %> |
15 | | - <div class="flex align-center fr-mt-1w notification-container-type"> |
| 15 | + <div class="flex align-start fr-mt-1w notification-container-type"> |
16 | 16 | <div class="fr-col-3 fr-pr-1w notification-badge"> |
17 | 17 | <%= tag_notification(notification_type, generic: true) %> |
18 | 18 | </div> |
19 | 19 |
|
20 | | - <div class="fr-col-9 flex align-center notification-dossiers"> |
| 20 | + <ul class="fr-col-9 flex wrap notification-dossiers"> |
21 | 21 | <% dossiers.each_with_index do |dossier, dossier_index| %> |
22 | | - <div class="flex align-center notification-dossier"> |
| 22 | + <li class="flex align-center notification-dossier"> |
23 | 23 | <% if statut != 'supprimes' %> |
24 | | - <div class="fr-link fr-link--sm fr-mr-1w"> |
25 | | - <%= link_to dossier.id, instructeur_dossier_path(procedure_id, dossier.id) %> |
26 | | - </div> |
| 24 | + <%= link_to dossier.id, instructeur_dossier_path(procedure_id, dossier.id), class: "notification-dossier-contenu fr-link" %> |
27 | 25 | <% else %> |
28 | | - <span class="fr-mr-1w fr-text--sm fr-mb-0"> |
| 26 | + <span class="notification-dossier-contenu"> |
29 | 27 | <%= dossier.id %> |
30 | 28 | </span> |
31 | 29 | <% end %> |
32 | | - |
33 | | - <div class="fr-mb-0"> |
34 | | - <span class="no-wrap fr-text--sm"> |
35 | | - <%= dossier.owner_name %> |
36 | | - </span> |
37 | | - </div> |
38 | | - |
39 | | - <% if dossier_index != (dossiers.size - 1) %> |
40 | | - <div class="fr-mx-2w">|</div> |
41 | | - <% end %> |
42 | | - </div> |
| 30 | + <span class="notification-dossier-contenu fr-ml-1w"> |
| 31 | + <%= dossier.owner_name %> |
| 32 | + </span> |
| 33 | + </li> |
43 | 34 | <% end %> |
44 | | - |
45 | | - <span class="no-wrap fr-text--sm fr-text--bold fr-mb-0 notification-indicator"></span> |
46 | | - </div> |
| 35 | + </ul> |
| 36 | + <span class="fr-text--sm fr-text--bold notification-indicator"></span> |
47 | 37 | </div> |
48 | 38 | <% end %> |
49 | 39 | <% end %> |
|
0 commit comments