Skip to content
Extraits de code Groupes Projets
Valider 2f7f6af2 rédigé par ThibG's avatar ThibG Validation de Eugen Rochko
Parcourir les fichiers

Hide domain filter in admin page when “local” filter is active (#10074)

Since the “domain” field is ignored in this case.
parent d1d7d14f
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -26,8 +26,9 @@
= hidden_field_tag key, params[key]
- %i(username by_domain display_name email ip).each do |key|
.input.string.optional
= text_field_tag key, params[key], class: 'string optional', placeholder: I18n.t("admin.accounts.#{key}")
- unless key == :by_domain && params[:remote].blank?
.input.string.optional
= text_field_tag key, params[key], class: 'string optional', placeholder: I18n.t("admin.accounts.#{key}")
.actions
%button= t('admin.accounts.search')
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter