Merge pull request #8526 from demarches-simplifiees/fix/new-tab
fix: add title to new tab link
This commit is contained in:
commit
911e84263f
3 changed files with 7 additions and 1 deletions
|
@ -43,7 +43,7 @@
|
||||||
= t("views.prefill_descriptions.edit.possible_values.#{type_de_champ.type_champ}_html")
|
= t("views.prefill_descriptions.edit.possible_values.#{type_de_champ.type_champ}_html")
|
||||||
%br
|
%br
|
||||||
- if type_de_champ.too_many_possible_values?
|
- if type_de_champ.too_many_possible_values?
|
||||||
= link_to "Voir toutes les valeurs possibles", prefill_type_de_champ_path(prefill_description.path, type_de_champ), target: "_blank"
|
= link_to t("views.prefill_descriptions.edit.possible_values.link.text"), prefill_type_de_champ_path(prefill_description.path, type_de_champ), title: new_tab_suffix(t("views.prefill_descriptions.edit.possible_values.link.title")), **external_link_attributes
|
||||||
- else
|
- else
|
||||||
= type_de_champ.possible_values.to_sentence
|
= type_de_champ.possible_values.to_sentence
|
||||||
%tr{ class: prefillable ? "" : "fr-text-mention--grey" }
|
%tr{ class: prefillable ? "" : "fr-text-mention--grey" }
|
||||||
|
|
|
@ -112,6 +112,9 @@ en:
|
||||||
champ_remove: Remove
|
champ_remove: Remove
|
||||||
champ_unavailable: Unavailable
|
champ_unavailable: Unavailable
|
||||||
possible_values:
|
possible_values:
|
||||||
|
link:
|
||||||
|
title: All possible values
|
||||||
|
text: See all possible values
|
||||||
title: Values
|
title: Values
|
||||||
text_html: A short text
|
text_html: A short text
|
||||||
textarea_html: A long text
|
textarea_html: A long text
|
||||||
|
|
|
@ -103,6 +103,9 @@ fr:
|
||||||
champ_remove: Retirer
|
champ_remove: Retirer
|
||||||
champ_unavailable: Indisponible
|
champ_unavailable: Indisponible
|
||||||
possible_values:
|
possible_values:
|
||||||
|
link:
|
||||||
|
title: Toutes les valeurs possibles
|
||||||
|
text: Voir toutes les valeurs possibles
|
||||||
title: Valeurs
|
title: Valeurs
|
||||||
text_html: Un texte court
|
text_html: Un texte court
|
||||||
textarea_html: Un texte long
|
textarea_html: Un texte long
|
||||||
|
|
Loading…
Reference in a new issue