Commit 294b85eb authored by Kati Paizee's avatar Kati Paizee

Revise UI text for third-party offers

Update the Admin Area third-party offers UI text

Changelog: changed
parent 256bb662
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
%section.settings.as-third-party-offers.no-animate#js-third-party-offers-settings{ class: ('expanded' if expanded) } %section.settings.as-third-party-offers.no-animate#js-third-party-offers-settings{ class: ('expanded' if expanded) }
.settings-header .settings-header
%h4 %h4
= _('Third party offers') = _('Third-party offers')
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' } %button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
= expanded ? _('Collapse') : _('Expand') = expanded ? _('Collapse') : _('Expand')
%p %p
= _('Control the display of third party offers.') = _('Control whether to display third-party offers in GitLab.')
.settings-content .settings-content
= form_for @application_setting, url: general_admin_application_settings_path(anchor: 'js-third-party-offers-settings'), html: { class: 'fieldset-form', id: 'third-party-offers-settings' } do |f| = form_for @application_setting, url: general_admin_application_settings_path(anchor: 'js-third-party-offers-settings'), html: { class: 'fieldset-form', id: 'third-party-offers-settings' } do |f|
= form_errors(@application_setting) if expanded = form_errors(@application_setting) if expanded
...@@ -15,6 +15,6 @@ ...@@ -15,6 +15,6 @@
.form-group .form-group
.form-check .form-check
= f.check_box :hide_third_party_offers, class: 'form-check-input' = f.check_box :hide_third_party_offers, class: 'form-check-input'
= f.label :hide_third_party_offers, _('Do not display offers from third parties within GitLab'), class: 'form-check-label' = f.label :hide_third_party_offers, _('Do not display offers from third parties'), class: 'form-check-label'
= f.submit _('Save changes'), class: "gl-button btn btn-confirm" = f.submit _('Save changes'), class: "gl-button btn btn-confirm"
...@@ -5,7 +5,7 @@ info: To determine the technical writer assigned to the Stage/Group associated w ...@@ -5,7 +5,7 @@ info: To determine the technical writer assigned to the Stage/Group associated w
type: reference type: reference
--- ---
# Third party offers **(FREE SELF)** # Third-party offers **(FREE SELF)**
> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/20379) in GitLab Free 11.1. > [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/20379) in GitLab Free 11.1.
...@@ -16,8 +16,9 @@ for using [Google Kubernetes Engine](https://cloud.google.com/kubernetes-engine/ ...@@ -16,8 +16,9 @@ for using [Google Kubernetes Engine](https://cloud.google.com/kubernetes-engine/
To toggle the display of third-party offers: To toggle the display of third-party offers:
1. On the top bar, select **Menu >** **{admin}** **Admin**. 1. On the top bar, select **Menu >** **{admin}** **Admin**.
1. In the left sidebar, select **Settings**, and expand **Third party offers**. 1. On the left sidebar, select **Settings**, and expand **Third-party offers**.
1. Select **Do not display offers from third parties within GitLab**. 1. Select **Do not display offers from third parties**.
1. Select **Save changes**.
<!-- ## Troubleshooting <!-- ## Troubleshooting
......
...@@ -8736,7 +8736,7 @@ msgstr "" ...@@ -8736,7 +8736,7 @@ msgstr ""
msgid "Control emails linked to your account" msgid "Control emails linked to your account"
msgstr "" msgstr ""
msgid "Control the display of third party offers." msgid "Control whether to display third-party offers in GitLab."
msgstr "" msgstr ""
msgid "Cookie domain" msgid "Cookie domain"
...@@ -11431,7 +11431,7 @@ msgstr "" ...@@ -11431,7 +11431,7 @@ msgstr ""
msgid "Display source" msgid "Display source"
msgstr "" msgstr ""
msgid "Do not display offers from third parties within GitLab" msgid "Do not display offers from third parties"
msgstr "" msgstr ""
msgid "Do you want to remove this deploy key?" msgid "Do you want to remove this deploy key?"
...@@ -32940,7 +32940,7 @@ msgstr "" ...@@ -32940,7 +32940,7 @@ msgstr ""
msgid "Third Party Advisory Link" msgid "Third Party Advisory Link"
msgstr "" msgstr ""
msgid "Third party offers" msgid "Third-party offers"
msgstr "" msgstr ""
msgid "This %{issuableDisplayName} is locked. Only project members can comment." msgid "This %{issuableDisplayName} is locked. Only project members can comment."
......
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