Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Artur <felipefac@gmail.com>2018-07-18 03:17:07 +0300
committerFelipe Artur <felipefac@gmail.com>2018-07-18 03:17:07 +0300
commitc97d822c1b76be57d5b988940311f8a3238b6a5e (patch)
treee5ff2ecb49c9ed29397c4266a2ccbae9e6540464 /app/views/admin/application_settings/_third_party_offers.html.haml
parent5238eb5eb71396beaade7d0a80f180269bcd21a5 (diff)
parent07f4b095f8de2a3968705f103701c5075669b2a5 (diff)
Merge branch '11-1-stable-prepare-rc13' into 11-1-stable
Diffstat (limited to 'app/views/admin/application_settings/_third_party_offers.html.haml')
-rw-r--r--app/views/admin/application_settings/_third_party_offers.html.haml13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/views/admin/application_settings/_third_party_offers.html.haml b/app/views/admin/application_settings/_third_party_offers.html.haml
new file mode 100644
index 00000000000..c5d775d4bf5
--- /dev/null
+++ b/app/views/admin/application_settings/_third_party_offers.html.haml
@@ -0,0 +1,13 @@
+- application_setting = local_assigns.fetch(:application_setting)
+
+= form_for application_setting, url: admin_application_settings_path, html: { class: 'fieldset-form' } do |f|
+ = form_errors(application_setting)
+
+ %fieldset
+ .form-group
+ .form-check
+ = f.check_box :hide_third_party_offers, class: 'form-check-input'
+ = f.label :hide_third_party_offers, class: 'form-check-label' do
+ Do not display offers from third parties within GitLab
+
+ = f.submit 'Save changes', class: "btn btn-success"