fix: add title to new tab link
This commit is contained in:
parent
960ba98378
commit
bad7b24bf2
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")
|
||||
%br
|
||||
- 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
|
||||
= type_de_champ.possible_values.to_sentence
|
||||
%tr{ class: prefillable ? "" : "fr-text-mention--grey" }
|
||||
|
|
|
@ -112,6 +112,9 @@ en:
|
|||
champ_remove: Remove
|
||||
champ_unavailable: Unavailable
|
||||
possible_values:
|
||||
link:
|
||||
title: All possible values
|
||||
text: See all possible values
|
||||
title: Values
|
||||
text_html: A short text
|
||||
textarea_html: A long text
|
||||
|
|
|
@ -103,6 +103,9 @@ fr:
|
|||
champ_remove: Retirer
|
||||
champ_unavailable: Indisponible
|
||||
possible_values:
|
||||
link:
|
||||
title: Toutes les valeurs possibles
|
||||
text: Voir toutes les valeurs possibles
|
||||
title: Valeurs
|
||||
text_html: Un texte court
|
||||
textarea_html: Un texte long
|
||||
|
|
Loading…
Reference in a new issue