diff --git a/app/assets/stylesheets/avis.scss b/app/assets/stylesheets/avis.scss index c825a4538..ca4c4a941 100644 --- a/app/assets/stylesheets/avis.scss +++ b/app/assets/stylesheets/avis.scss @@ -74,18 +74,6 @@ } .list-avis { - .count { - display: inline-block; - width: 20px; - height: 20px; - border-radius: 10px; - border: 1px solid $grey; - text-align: center; - font-size: 12px; - font-weight: normal; - margin-left: 8px; - } - .one-avis { border-top: 1px solid $grey; padding: $default-padding 0; diff --git a/app/views/experts/shared/avis/_list.html.haml b/app/views/experts/shared/avis/_list.html.haml index 34c5d7ad6..5aa674410 100644 --- a/app/views/experts/shared/avis/_list.html.haml +++ b/app/views/experts/shared/avis/_list.html.haml @@ -1,7 +1,7 @@ %section.list-avis %h1.tab-title Avis des invités - %span.count= avis.count + %span.fr-badge= avis.count %ul - avis.each do |avis| diff --git a/app/views/instructeurs/procedures/email_usagers.html.haml b/app/views/instructeurs/procedures/email_usagers.html.haml index e1c965045..84e8f78b6 100644 --- a/app/views/instructeurs/procedures/email_usagers.html.haml +++ b/app/views/instructeurs/procedures/email_usagers.html.haml @@ -14,7 +14,7 @@ %section.list-avis.mt-8 %h1.tab-title Messages envoyés précedemment - %span.count= @bulk_messages.count + %span.fr-badge= @bulk_messages.count %ul - @bulk_messages.each do |message| diff --git a/app/views/instructeurs/shared/avis/_list.html.haml b/app/views/instructeurs/shared/avis/_list.html.haml index 8c1693569..eece13e45 100644 --- a/app/views/instructeurs/shared/avis/_list.html.haml +++ b/app/views/instructeurs/shared/avis/_list.html.haml @@ -1,7 +1,7 @@ %section.list-avis %h1.tab-title Avis des invités - %span.count= avis.count + %span.fr-badge= avis.count %ul - avis.each do |avis| diff --git a/app/views/root/patron.html.haml b/app/views/root/patron.html.haml index 57364e78f..57575c311 100644 --- a/app/views/root/patron.html.haml +++ b/app/views/root/patron.html.haml @@ -282,7 +282,7 @@ %section.list-avis %h1.title Avis des invités - %span.count 1 + %span.fr-badge 1 %ul %li.one-avis