afficher le nom du service en alt si possible
This commit is contained in:
parent
a5be836a55
commit
9454017dd9
1 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
.procedure-logos
|
||||
= image_tag procedure.logo_url, alt: "logo #{procedure.libelle}"
|
||||
- procedure_logo_alt = ''
|
||||
- if procedure.service.present?
|
||||
- procedure_logo_alt = "#{procedure.service.nom} − #{procedure.service.organisme}"
|
||||
= image_tag procedure.logo_url, alt: procedure_logo_alt
|
||||
- if procedure.euro_flag
|
||||
= image_tag("flag_of_europe.svg", id: 'euro_flag', class: (!procedure.euro_flag ? "hidden" : ""))
|
||||
%h1.procedure-title
|
||||
|
|
Loading…
Reference in a new issue