Add alt='' to decorative image https://www.w3.org/WAI/tutorials/images/decorative/
This commit is contained in:
parent
0e6ffd0baa
commit
4a5059ed34
3 changed files with 11 additions and 11 deletions
|
@ -8,30 +8,30 @@
|
||||||
- if administration_signed_in?
|
- if administration_signed_in?
|
||||||
%li
|
%li
|
||||||
= link_to manager_root_path, class: "menu-item menu-link" do
|
= link_to manager_root_path, class: "menu-item menu-link" do
|
||||||
= image_tag "icons/super-admin.svg"
|
= image_tag "icons/super-admin.svg", alt: ''
|
||||||
Passer en super-admin
|
Passer en super-admin
|
||||||
- if multiple_devise_profile_connect?
|
- if multiple_devise_profile_connect?
|
||||||
- if user_signed_in? && nav_bar_profile != :user
|
- if user_signed_in? && nav_bar_profile != :user
|
||||||
%li
|
%li
|
||||||
= link_to dossiers_path, class: "menu-item menu-link" do
|
= link_to dossiers_path, class: "menu-item menu-link" do
|
||||||
= image_tag "icons/switch-profile.svg"
|
= image_tag "icons/switch-profile.svg", alt: ''
|
||||||
Passer en usager
|
Passer en usager
|
||||||
- if instructeur_signed_in? && nav_bar_profile != :instructeur
|
- if instructeur_signed_in? && nav_bar_profile != :instructeur
|
||||||
%li
|
%li
|
||||||
= link_to instructeur_procedures_path, class: "menu-item menu-link" do
|
= link_to instructeur_procedures_path, class: "menu-item menu-link" do
|
||||||
= image_tag "icons/switch-profile.svg"
|
= image_tag "icons/switch-profile.svg", alt: ''
|
||||||
Passer en instructeur
|
Passer en instructeur
|
||||||
- if administrateur_signed_in? && nav_bar_profile != :administrateur
|
- if administrateur_signed_in? && nav_bar_profile != :administrateur
|
||||||
%li
|
%li
|
||||||
= link_to admin_procedures_path, class: "menu-item menu-link" do
|
= link_to admin_procedures_path, class: "menu-item menu-link" do
|
||||||
= image_tag "icons/switch-profile.svg"
|
= image_tag "icons/switch-profile.svg", alt: ''
|
||||||
Passer en administrateur
|
Passer en administrateur
|
||||||
|
|
||||||
%li
|
%li
|
||||||
= link_to profil_path, class: "menu-item menu-link" do
|
= link_to profil_path, class: "menu-item menu-link" do
|
||||||
= image_tag "icons/switch-profile.svg"
|
= image_tag "icons/switch-profile.svg", alt: ''
|
||||||
Voir mon profil
|
Voir mon profil
|
||||||
%li
|
%li
|
||||||
= link_to destroy_user_session_path, method: :delete, class: "menu-item menu-link" do
|
= link_to destroy_user_session_path, method: :delete, class: "menu-item menu-link" do
|
||||||
= image_tag "icons/sign-out.svg"
|
= image_tag "icons/sign-out.svg", alt: ''
|
||||||
Se déconnecter
|
Se déconnecter
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
= form_tag instructeur_recherche_path, method: :get, class: "form" do
|
= form_tag instructeur_recherche_path, method: :get, class: "form" do
|
||||||
= text_field_tag "q", "#{@search_terms if @search_terms.present?}", placeholder: "Rechercher un dossier"
|
= text_field_tag "q", "#{@search_terms if @search_terms.present?}", placeholder: "Rechercher un dossier"
|
||||||
%button{ title: "Rechercher" }
|
%button{ title: "Rechercher" }
|
||||||
= image_tag "icons/search-blue.svg"
|
= image_tag "icons/search-blue.svg", alt: ''
|
||||||
|
|
||||||
- if nav_bar_profile == :user && user_signed_in? && current_user.dossiers.count > 2
|
- if nav_bar_profile == :user && user_signed_in? && current_user.dossiers.count > 2
|
||||||
%li
|
%li
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
= form_tag recherche_dossiers_path, method: :post, class: "form" do
|
= form_tag recherche_dossiers_path, method: :post, class: "form" do
|
||||||
= text_field_tag :dossier_id, "", placeholder: "Numéro de dossier"
|
= text_field_tag :dossier_id, "", placeholder: "Numéro de dossier"
|
||||||
%button{ title: "Rechercher" }
|
%button{ title: "Rechercher" }
|
||||||
= image_tag "icons/search-blue.svg"
|
= image_tag "icons/search-blue.svg", alt: ''
|
||||||
|
|
||||||
- if instructeur_signed_in? || user_signed_in?
|
- if instructeur_signed_in? || user_signed_in?
|
||||||
%li
|
%li
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
- if commentaire.sent_by_system?
|
- if commentaire.sent_by_system?
|
||||||
= image_tag('icons/mail.svg', class: 'person-icon')
|
= image_tag('icons/mail.svg', class: 'person-icon', alt: '')
|
||||||
- elsif commentaire.sent_by?(connected_user)
|
- elsif commentaire.sent_by?(connected_user)
|
||||||
= image_tag('icons/account-circle.svg', class: 'person-icon')
|
= image_tag('icons/account-circle.svg', class: 'person-icon', alt: '')
|
||||||
- else
|
- else
|
||||||
= image_tag('icons/blue-person.svg', class: 'person-icon')
|
= image_tag('icons/blue-person.svg', class: 'person-icon', alt: '')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue