From c9f69e9693160b99e5a50e4edbe49646b7cc3464 Mon Sep 17 00:00:00 2001 From: Simon Lehericey Date: Thu, 7 Sep 2017 10:30:40 +0200 Subject: [PATCH] Avis Style: replace bubble image tag by the i tag --- app/assets/stylesheets/new_design/icons.scss | 4 ++++ app/views/new_gestionnaire/dossiers/instruction.html.haml | 2 +- app/views/root/patron.html.haml | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/new_design/icons.scss b/app/assets/stylesheets/new_design/icons.scss index 924ce4961..a22cd9afd 100644 --- a/app/assets/stylesheets/new_design/icons.scss +++ b/app/assets/stylesheets/new_design/icons.scss @@ -44,4 +44,8 @@ i { &.in-progress { background-image: image-url("icons/in-progress-blue.svg"); } + + &.bubble { + background-image: image-url("icons/bubble.svg"); + } } diff --git a/app/views/new_gestionnaire/dossiers/instruction.html.haml b/app/views/new_gestionnaire/dossiers/instruction.html.haml index 09d04380f..016abc911 100644 --- a/app/views/new_gestionnaire/dossiers/instruction.html.haml +++ b/app/views/new_gestionnaire/dossiers/instruction.html.haml @@ -26,7 +26,7 @@ %p= avis.introduction .answer.flex.align-start - = image_tag 'icons/bubble.svg', class: 'avis-icon' + %i.bubble.avis-icon .width-100 %h2.gestionnaire = avis.gestionnaire.email diff --git a/app/views/root/patron.html.haml b/app/views/root/patron.html.haml index 588a9f448..5d295de01 100644 --- a/app/views/root/patron.html.haml +++ b/app/views/root/patron.html.haml @@ -12,6 +12,7 @@ %i.without-continuation %i.edit %i.in-progress + %i.bubble %h1 Formulaires @@ -180,7 +181,7 @@ %p Bonjour, merci de me donner votre avis sur ce dossier. .answer.flex.align-start - = image_tag 'icons/bubble.svg', class: 'avis-icon' + %i.bubble.avis-icon .width-100 %h2.gestionnaire gestionnnaire@tps.com