Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
2909006e
Commit
2909006e
authored
Aug 30, 2021
by
Russell Dickenson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve UI text for maintenance mode
Changelog: changed
parent
10932045
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
ee/app/assets/javascripts/maintenance_mode_settings/components/app.vue
.../javascripts/maintenance_mode_settings/components/app.vue
+2
-2
ee/app/views/admin/application_settings/_maintenance_mode_settings_form.html.haml
...cation_settings/_maintenance_mode_settings_form.html.haml
+2
-1
locale/gitlab.pot
locale/gitlab.pot
+3
-3
No files found.
ee/app/assets/javascripts/maintenance_mode_settings/components/app.vue
View file @
2909006e
...
...
@@ -9,10 +9,10 @@ export default {
i18n
:
{
toggleLabel
:
__
(
'
Enable maintenance mode
'
),
toggleHelpText
:
__
(
'
Non-admin users
can sign in with read-only access and make read-only API requests
.
'
,
'
Non-admin users
are restricted to read-only access, in both GitLab UI and API
.
'
,
),
bannerMessagePlaceholder
:
__
(
'
GitLab is undergoing maintenance and is operating in
a
read-only mode.
'
,
'
GitLab is undergoing maintenance and is operating in read-only mode.
'
,
),
buttonText
:
__
(
'
Save changes
'
),
},
...
...
ee/app/views/admin/application_settings/_maintenance_mode_settings_form.html.haml
View file @
2909006e
...
...
@@ -7,7 +7,8 @@
%button
.btn.gl-button.btn-default.js-settings-toggle
{
type:
'button'
}
=
expanded_by_default?
?
_
(
'Collapse'
)
:
_
(
'Expand'
)
%p
=
_
(
'Prevent users from performing write operations on GitLab while performing maintenance.'
)
=
_
(
'Prevent users from performing write operations while GitLab maintenance is in progress.'
)
=
link_to
_
(
'Learn more.'
),
help_page_path
(
'administration/maintenance_mode/index'
),
target:
'_blank'
,
rel:
'noopener noreferrer'
.settings-content
#js-maintenance-mode-settings
{
data:
{
"maintenance-enabled"
=>
@application_setting
.
maintenance_mode
,
"banner-message"
=>
@application_setting
.
maintenance_mode_message
}
}
locale/gitlab.pot
View file @
2909006e
...
...
@@ -15290,7 +15290,7 @@ msgstr ""
msgid "GitLab is open source software to collaborate on code."
msgstr ""
msgid "GitLab is undergoing maintenance and is operating in
a
read-only mode."
msgid "GitLab is undergoing maintenance and is operating in read-only mode."
msgstr ""
msgid "GitLab member or Email address"
...
...
@@ -22805,7 +22805,7 @@ msgstr ""
msgid "Nodes"
msgstr ""
msgid "Non-admin users
can sign in with read-only access and make read-only API requests
."
msgid "Non-admin users
are restricted to read-only access, in both GitLab UI and API
."
msgstr ""
msgid "None"
...
...
@@ -25314,7 +25314,7 @@ msgstr ""
msgid "Prevent users from changing their profile name"
msgstr ""
msgid "Prevent users from performing write operations
on GitLab while performing maintenance
."
msgid "Prevent users from performing write operations
while GitLab maintenance is in progress
."
msgstr ""
msgid "Preview"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment