Commit 910cb046 authored by Luke Bennett's avatar Luke Bennett

Resolve CE/EE diffs in admin users form

Part of single codebase changes.
parent 53250bfb
...@@ -48,13 +48,9 @@ ...@@ -48,13 +48,9 @@
= render partial: 'access_levels', locals: { f: f } = render partial: 'access_levels', locals: { f: f }
- if Gitlab::CurrentSettings.should_check_namespace_plan? = render_if_exists 'admin/users/namespace_plan_fieldset', f: f
= f.fields_for :namespace do |namespace_form|
%fieldset
%legend Licensed Features
= render 'admin/namespace_plan', f: namespace_form
= render partial: 'limits', locals: { f: f } = render_if_exists 'admin/users/limits', f: f
%fieldset %fieldset
%legend Profile %legend Profile
...@@ -81,11 +77,7 @@ ...@@ -81,11 +77,7 @@
= f.label :website_url, 'Website', class: 'col-form-label' = f.label :website_url, 'Website', class: 'col-form-label'
.col-sm-10= f.text_field :website_url, class: 'form-control' .col-sm-10= f.text_field :website_url, class: 'form-control'
%fieldset = render_if_exists 'admin/users/admin_notes', f: f
%legend Admin notes
.form-group.row
= f.label :note, 'Note', class: 'col-form-label'
.col-sm-10= f.text_area :note, class: 'form-control'
.form-actions .form-actions
- if @user.new_record? - if @user.new_record?
......
%fieldset
%legend= _('Admin notes')
.form-group.row
= f.label :note, _('AdminNote|Note'), class: 'col-form-label'
.col-sm-10= f.text_area :note, class: 'form-control'
- if Gitlab::CurrentSettings.should_check_namespace_plan?
= f.fields_for :namespace do |namespace_form|
%fieldset
%legend= _('Licensed Features')
= render 'admin/namespace_plan', f: namespace_form
...@@ -747,6 +747,9 @@ msgstr "" ...@@ -747,6 +747,9 @@ msgstr ""
msgid "Admin Section" msgid "Admin Section"
msgstr "" msgstr ""
msgid "Admin notes"
msgstr ""
msgid "AdminArea| You are about to permanently delete the user %{username}. Issues, merge requests, and groups linked to them will be transferred to a system-wide \"Ghost-user\". To avoid data loss, consider using the %{strong_start}block user%{strong_end} feature instead. Once you %{strong_start}Delete user%{strong_end}, it cannot be undone or recovered." msgid "AdminArea| You are about to permanently delete the user %{username}. Issues, merge requests, and groups linked to them will be transferred to a system-wide \"Ghost-user\". To avoid data loss, consider using the %{strong_start}block user%{strong_end} feature instead. Once you %{strong_start}Delete user%{strong_end}, it cannot be undone or recovered."
msgstr "" msgstr ""
...@@ -768,6 +771,9 @@ msgstr "" ...@@ -768,6 +771,9 @@ msgstr ""
msgid "AdminArea|You’re about to stop all jobs.This will halt all current jobs that are running." msgid "AdminArea|You’re about to stop all jobs.This will halt all current jobs that are running."
msgstr "" msgstr ""
msgid "AdminNote|Note"
msgstr ""
msgid "AdminProjects| You’re about to permanently delete the project %{projectName}, its repository, and all related resources including issues, merge requests, etc.. Once you confirm and press %{strong_start}Delete project%{strong_end}, it cannot be undone or recovered." msgid "AdminProjects| You’re about to permanently delete the project %{projectName}, its repository, and all related resources including issues, merge requests, etc.. Once you confirm and press %{strong_start}Delete project%{strong_end}, it cannot be undone or recovered."
msgstr "" msgstr ""
...@@ -7455,6 +7461,9 @@ msgstr "" ...@@ -7455,6 +7461,9 @@ msgstr ""
msgid "LicenseManagement|You are about to remove the license, %{name}, from this project." msgid "LicenseManagement|You are about to remove the license, %{name}, from this project."
msgstr "" msgstr ""
msgid "Licensed Features"
msgstr ""
msgid "Licensed to" msgid "Licensed to"
msgstr "" msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment