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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
df8aa61a
Commit
df8aa61a
authored
Apr 11, 2018
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[skip ci] Convert .checkbox to .form-check
parent
b95d76d2
Changes
44
Hide whitespace changes
Inline
Side-by-side
Showing
44 changed files
with
72 additions
and
72 deletions
+72
-72
app/assets/javascripts/notifications_form.js
app/assets/javascripts/notifications_form.js
+1
-1
app/views/admin/application_settings/_account_and_limit.html.haml
...s/admin/application_settings/_account_and_limit.html.haml
+3
-3
app/views/admin/application_settings/_background_jobs.html.haml
...ews/admin/application_settings/_background_jobs.html.haml
+1
-1
app/views/admin/application_settings/_ci_cd.html.haml
app/views/admin/application_settings/_ci_cd.html.haml
+2
-2
app/views/admin/application_settings/_email.html.haml
app/views/admin/application_settings/_email.html.haml
+2
-2
app/views/admin/application_settings/_help_page.html.haml
app/views/admin/application_settings/_help_page.html.haml
+1
-1
app/views/admin/application_settings/_influx.html.haml
app/views/admin/application_settings/_influx.html.haml
+1
-1
app/views/admin/application_settings/_ip_limits.html.haml
app/views/admin/application_settings/_ip_limits.html.haml
+3
-3
app/views/admin/application_settings/_koding.html.haml
app/views/admin/application_settings/_koding.html.haml
+1
-1
app/views/admin/application_settings/_logging.html.haml
app/views/admin/application_settings/_logging.html.haml
+2
-2
app/views/admin/application_settings/_outbound.html.haml
app/views/admin/application_settings/_outbound.html.haml
+1
-1
app/views/admin/application_settings/_pages.html.haml
app/views/admin/application_settings/_pages.html.haml
+1
-1
app/views/admin/application_settings/_performance.html.haml
app/views/admin/application_settings/_performance.html.haml
+1
-1
app/views/admin/application_settings/_performance_bar.html.haml
...ews/admin/application_settings/_performance_bar.html.haml
+1
-1
app/views/admin/application_settings/_plantuml.html.haml
app/views/admin/application_settings/_plantuml.html.haml
+1
-1
app/views/admin/application_settings/_prometheus.html.haml
app/views/admin/application_settings/_prometheus.html.haml
+1
-1
app/views/admin/application_settings/_repository_check.html.haml
...ws/admin/application_settings/_repository_check.html.haml
+3
-3
app/views/admin/application_settings/_repository_storage.html.haml
.../admin/application_settings/_repository_storage.html.haml
+1
-1
app/views/admin/application_settings/_signin.html.haml
app/views/admin/application_settings/_signin.html.haml
+3
-3
app/views/admin/application_settings/_signup.html.haml
app/views/admin/application_settings/_signup.html.haml
+3
-3
app/views/admin/application_settings/_spam.html.haml
app/views/admin/application_settings/_spam.html.haml
+3
-3
app/views/admin/application_settings/_usage.html.haml
app/views/admin/application_settings/_usage.html.haml
+2
-2
app/views/admin/application_settings/_visibility_and_access.html.haml
...min/application_settings/_visibility_and_access.html.haml
+3
-3
app/views/admin/hooks/_form.html.haml
app/views/admin/hooks/_form.html.haml
+1
-1
app/views/devise/sessions/_new_base.html.haml
app/views/devise/sessions/_new_base.html.haml
+1
-1
app/views/devise/sessions/_new_crowd.html.haml
app/views/devise/sessions/_new_crowd.html.haml
+1
-1
app/views/devise/sessions/_new_ldap.html.haml
app/views/devise/sessions/_new_ldap.html.haml
+1
-1
app/views/devise/shared/_omniauth_box.html.haml
app/views/devise/shared/_omniauth_box.html.haml
+1
-1
app/views/groups/_create_chat_team.html.haml
app/views/groups/_create_chat_team.html.haml
+1
-1
app/views/groups/_group_admin_settings.html.haml
app/views/groups/_group_admin_settings.html.haml
+3
-3
app/views/groups/edit.html.haml
app/views/groups/edit.html.haml
+1
-1
app/views/help/ui.html.haml
app/views/help/ui.html.haml
+2
-2
app/views/projects/_merge_request_merge_settings.html.haml
app/views/projects/_merge_request_merge_settings.html.haml
+4
-4
app/views/projects/deploy_keys/_form.html.haml
app/views/projects/deploy_keys/_form.html.haml
+1
-1
app/views/projects/network/show.html.haml
app/views/projects/network/show.html.haml
+1
-1
app/views/projects/runners/_form.html.haml
app/views/projects/runners/_form.html.haml
+4
-4
app/views/projects/settings/ci_cd/_form.html.haml
app/views/projects/settings/ci_cd/_form.html.haml
+2
-2
app/views/shared/_allow_request_access.html.haml
app/views/shared/_allow_request_access.html.haml
+1
-1
app/views/shared/_new_merge_request_checkbox.html.haml
app/views/shared/_new_merge_request_checkbox.html.haml
+1
-1
app/views/shared/issuable/_form.html.haml
app/views/shared/issuable/_form.html.haml
+1
-1
app/views/shared/issuable/form/_contribution.html.haml
app/views/shared/issuable/form/_contribution.html.haml
+1
-1
app/views/shared/issuable/form/_merge_params.html.haml
app/views/shared/issuable/form/_merge_params.html.haml
+1
-1
app/views/shared/notifications/_custom_notifications.html.haml
...iews/shared/notifications/_custom_notifications.html.haml
+1
-1
app/views/shared/web_hooks/_form.html.haml
app/views/shared/web_hooks/_form.html.haml
+1
-1
No files found.
app/assets/javascripts/notifications_form.js
View file @
df8aa61a
...
@@ -15,7 +15,7 @@ export default class NotificationsForm {
...
@@ -15,7 +15,7 @@ export default class NotificationsForm {
toggleCheckbox
(
e
)
{
toggleCheckbox
(
e
)
{
const
$checkbox
=
$
(
e
.
currentTarget
);
const
$checkbox
=
$
(
e
.
currentTarget
);
const
$parent
=
$checkbox
.
closest
(
'
.
checkbox
'
);
const
$parent
=
$checkbox
.
closest
(
'
.
form-check
'
);
this
.
saveEvent
(
$checkbox
,
$parent
);
this
.
saveEvent
(
$checkbox
,
$parent
);
}
}
...
...
app/views/admin/application_settings/_account_and_limit.html.haml
View file @
df8aa61a
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
%fieldset
%fieldset
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:gravatar_enabled
do
=
f
.
label
:gravatar_enabled
do
=
f
.
check_box
:gravatar_enabled
=
f
.
check_box
:gravatar_enabled
Gravatar enabled
Gravatar enabled
...
@@ -24,14 +24,14 @@
...
@@ -24,14 +24,14 @@
.form-group
.form-group
=
f
.
label
:user_oauth_applications
,
'User OAuth applications'
,
class:
'control-label col-sm-2'
=
f
.
label
:user_oauth_applications
,
'User OAuth applications'
,
class:
'control-label col-sm-2'
.col-sm-10
.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:user_oauth_applications
do
=
f
.
label
:user_oauth_applications
do
=
f
.
check_box
:user_oauth_applications
=
f
.
check_box
:user_oauth_applications
Allow users to register any application to use GitLab as an OAuth provider
Allow users to register any application to use GitLab as an OAuth provider
.form-group
.form-group
=
f
.
label
:user_default_external
,
'New users set to external'
,
class:
'control-label col-sm-2'
=
f
.
label
:user_default_external
,
'New users set to external'
,
class:
'control-label col-sm-2'
.col-sm-10
.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:user_default_external
do
=
f
.
label
:user_default_external
do
=
f
.
check_box
:user_default_external
=
f
.
check_box
:user_default_external
Newly registered users will by default be external
Newly registered users will by default be external
...
...
app/views/admin/application_settings/_background_jobs.html.haml
View file @
df8aa61a
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
to take effect.
to take effect.
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:sidekiq_throttling_enabled
do
=
f
.
label
:sidekiq_throttling_enabled
do
=
f
.
check_box
:sidekiq_throttling_enabled
=
f
.
check_box
:sidekiq_throttling_enabled
Enable Sidekiq Job Throttling
Enable Sidekiq Job Throttling
...
...
app/views/admin/application_settings/_ci_cd.html.haml
View file @
df8aa61a
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
%fieldset
%fieldset
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:auto_devops_enabled
do
=
f
.
label
:auto_devops_enabled
do
=
f
.
check_box
:auto_devops_enabled
=
f
.
check_box
:auto_devops_enabled
Enabled Auto DevOps (Beta) for projects by default
Enabled Auto DevOps (Beta) for projects by default
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
=
s_
(
"AdminSettings|Specify a domain to use by default for every project's Auto Review Apps and Auto Deploy stages."
)
=
s_
(
"AdminSettings|Specify a domain to use by default for every project's Auto Review Apps and Auto Deploy stages."
)
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:shared_runners_enabled
do
=
f
.
label
:shared_runners_enabled
do
=
f
.
check_box
:shared_runners_enabled
=
f
.
check_box
:shared_runners_enabled
Enable shared runners for new projects
Enable shared runners for new projects
...
...
app/views/admin/application_settings/_email.html.haml
View file @
df8aa61a
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
%fieldset
%fieldset
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:email_author_in_body
do
=
f
.
label
:email_author_in_body
do
=
f
.
check_box
:email_author_in_body
=
f
.
check_box
:email_author_in_body
Include author name in notification email body
Include author name in notification email body
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
merge request or comment in the email body instead.
merge request or comment in the email body instead.
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:html_emails_enabled
do
=
f
.
label
:html_emails_enabled
do
=
f
.
check_box
:html_emails_enabled
=
f
.
check_box
:html_emails_enabled
Enable HTML emails
Enable HTML emails
...
...
app/views/admin/application_settings/_help_page.html.haml
View file @
df8aa61a
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
.help-block
Markdown enabled
.help-block
Markdown enabled
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:help_page_hide_commercial_content
do
=
f
.
label
:help_page_hide_commercial_content
do
=
f
.
check_box
:help_page_hide_commercial_content
=
f
.
check_box
:help_page_hide_commercial_content
Hide marketing-related entries from help
Hide marketing-related entries from help
...
...
app/views/admin/application_settings/_influx.html.haml
View file @
df8aa61a
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
=
link_to
icon
(
'question-circle'
),
help_page_path
(
'administration/monitoring/performance/introduction'
)
=
link_to
icon
(
'question-circle'
),
help_page_path
(
'administration/monitoring/performance/introduction'
)
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:metrics_enabled
do
=
f
.
label
:metrics_enabled
do
=
f
.
check_box
:metrics_enabled
=
f
.
check_box
:metrics_enabled
Enable InfluxDB Metrics
Enable InfluxDB Metrics
...
...
app/views/admin/application_settings/_ip_limits.html.haml
View file @
df8aa61a
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
%fieldset
%fieldset
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:throttle_unauthenticated_enabled
do
=
f
.
label
:throttle_unauthenticated_enabled
do
=
f
.
check_box
:throttle_unauthenticated_enabled
=
f
.
check_box
:throttle_unauthenticated_enabled
Enable unauthenticated request rate limit
Enable unauthenticated request rate limit
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
=
f
.
number_field
:throttle_unauthenticated_period_in_seconds
,
class:
'form-control'
=
f
.
number_field
:throttle_unauthenticated_period_in_seconds
,
class:
'form-control'
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:throttle_authenticated_api_enabled
do
=
f
.
label
:throttle_authenticated_api_enabled
do
=
f
.
check_box
:throttle_authenticated_api_enabled
=
f
.
check_box
:throttle_authenticated_api_enabled
Enable authenticated API request rate limit
Enable authenticated API request rate limit
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
=
f
.
number_field
:throttle_authenticated_api_period_in_seconds
,
class:
'form-control'
=
f
.
number_field
:throttle_authenticated_api_period_in_seconds
,
class:
'form-control'
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:throttle_authenticated_web_enabled
do
=
f
.
label
:throttle_authenticated_web_enabled
do
=
f
.
check_box
:throttle_authenticated_web_enabled
=
f
.
check_box
:throttle_authenticated_web_enabled
Enable authenticated web request rate limit
Enable authenticated web request rate limit
...
...
app/views/admin/application_settings/_koding.html.haml
View file @
df8aa61a
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
%fieldset
%fieldset
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:koding_enabled
do
=
f
.
label
:koding_enabled
do
=
f
.
check_box
:koding_enabled
=
f
.
check_box
:koding_enabled
Enable Koding
Enable Koding
...
...
app/views/admin/application_settings/_logging.html.haml
View file @
df8aa61a
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
%fieldset
%fieldset
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:sentry_enabled
do
=
f
.
label
:sentry_enabled
do
=
f
.
check_box
:sentry_enabled
=
f
.
check_box
:sentry_enabled
Enable Sentry
Enable Sentry
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:clientside_sentry_enabled
do
=
f
.
label
:clientside_sentry_enabled
do
=
f
.
check_box
:clientside_sentry_enabled
=
f
.
check_box
:clientside_sentry_enabled
Enable Clientside Sentry
Enable Clientside Sentry
...
...
app/views/admin/application_settings/_outbound.html.haml
View file @
df8aa61a
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
%fieldset
%fieldset
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:allow_local_requests_from_hooks_and_services
do
=
f
.
label
:allow_local_requests_from_hooks_and_services
do
=
f
.
check_box
:allow_local_requests_from_hooks_and_services
=
f
.
check_box
:allow_local_requests_from_hooks_and_services
Allow requests to the local network from hooks and services
Allow requests to the local network from hooks and services
...
...
app/views/admin/application_settings/_pages.html.haml
View file @
df8aa61a
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
.help-block
0 for unlimited
.help-block
0 for unlimited
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:pages_domain_verification_enabled
do
=
f
.
label
:pages_domain_verification_enabled
do
=
f
.
check_box
:pages_domain_verification_enabled
=
f
.
check_box
:pages_domain_verification_enabled
Require users to prove ownership of custom domains
Require users to prove ownership of custom domains
...
...
app/views/admin/application_settings/_performance.html.haml
View file @
df8aa61a
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
%fieldset
%fieldset
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:authorized_keys_enabled
do
=
f
.
label
:authorized_keys_enabled
do
=
f
.
check_box
:authorized_keys_enabled
=
f
.
check_box
:authorized_keys_enabled
Write to "authorized_keys" file
Write to "authorized_keys" file
...
...
app/views/admin/application_settings/_performance_bar.html.haml
View file @
df8aa61a
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
%fieldset
%fieldset
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:performance_bar_enabled
do
=
f
.
label
:performance_bar_enabled
do
=
f
.
check_box
:performance_bar_enabled
=
f
.
check_box
:performance_bar_enabled
Enable the Performance Bar
Enable the Performance Bar
...
...
app/views/admin/application_settings/_plantuml.html.haml
View file @
df8aa61a
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
%fieldset
%fieldset
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:plantuml_enabled
do
=
f
.
label
:plantuml_enabled
do
=
f
.
check_box
:plantuml_enabled
=
f
.
check_box
:plantuml_enabled
Enable PlantUML
Enable PlantUML
...
...
app/views/admin/application_settings/_prometheus.html.haml
View file @
df8aa61a
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
=
link_to
icon
(
'question-circle'
),
help_page_path
(
'administration/monitoring/prometheus/index'
)
=
link_to
icon
(
'question-circle'
),
help_page_path
(
'administration/monitoring/prometheus/index'
)
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:prometheus_metrics_enabled
do
=
f
.
label
:prometheus_metrics_enabled
do
=
f
.
check_box
:prometheus_metrics_enabled
=
f
.
check_box
:prometheus_metrics_enabled
Enable Prometheus Metrics
Enable Prometheus Metrics
...
...
app/views/admin/application_settings/_repository_check.html.haml
View file @
df8aa61a
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
%h4
Repository checks
%h4
Repository checks
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:repository_checks_enabled
do
=
f
.
label
:repository_checks_enabled
do
=
f
.
check_box
:repository_checks_enabled
=
f
.
check_box
:repository_checks_enabled
Enable Repository Checks
Enable Repository Checks
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
%h4
Housekeeping
%h4
Housekeeping
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:housekeeping_enabled
do
=
f
.
label
:housekeeping_enabled
do
=
f
.
check_box
:housekeeping_enabled
=
f
.
check_box
:housekeeping_enabled
Enable automatic repository housekeeping (git repack, git gc)
Enable automatic repository housekeeping (git repack, git gc)
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
repository access on your GitLab server will become slower and your
repository access on your GitLab server will become slower and your
repositories will use more disk space. We recommend to always leave
repositories will use more disk space. We recommend to always leave
this enabled.
this enabled.
.
checkbox
.
form-check
=
f
.
label
:housekeeping_bitmaps_enabled
do
=
f
.
label
:housekeeping_bitmaps_enabled
do
=
f
.
check_box
:housekeeping_bitmaps_enabled
=
f
.
check_box
:housekeeping_bitmaps_enabled
Enable Git pack file bitmap creation
Enable Git pack file bitmap creation
...
...
app/views/admin/application_settings/_repository_storage.html.haml
View file @
df8aa61a
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
.sub-section
.sub-section
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:hashed_storage_enabled
do
=
f
.
label
:hashed_storage_enabled
do
=
f
.
check_box
:hashed_storage_enabled
=
f
.
check_box
:hashed_storage_enabled
Create new projects using hashed storage paths
Create new projects using hashed storage paths
...
...
app/views/admin/application_settings/_signin.html.haml
View file @
df8aa61a
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
%fieldset
%fieldset
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:password_authentication_enabled_for_web
do
=
f
.
label
:password_authentication_enabled_for_web
do
=
f
.
check_box
:password_authentication_enabled_for_web
=
f
.
check_box
:password_authentication_enabled_for_web
Password authentication enabled for web interface
Password authentication enabled for web interface
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
When disabled, an external authentication provider must be used.
When disabled, an external authentication provider must be used.
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:password_authentication_enabled_for_git
do
=
f
.
label
:password_authentication_enabled_for_git
do
=
f
.
check_box
:password_authentication_enabled_for_git
=
f
.
check_box
:password_authentication_enabled_for_git
Password authentication enabled for Git over HTTP(S)
Password authentication enabled for Git over HTTP(S)
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
.form-group
.form-group
=
f
.
label
:two_factor_authentication
,
'Two-factor authentication'
,
class:
'control-label col-sm-2'
=
f
.
label
:two_factor_authentication
,
'Two-factor authentication'
,
class:
'control-label col-sm-2'
.col-sm-10
.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:require_two_factor_authentication
do
=
f
.
label
:require_two_factor_authentication
do
=
f
.
check_box
:require_two_factor_authentication
=
f
.
check_box
:require_two_factor_authentication
Require all users to setup Two-factor authentication
Require all users to setup Two-factor authentication
...
...
app/views/admin/application_settings/_signup.html.haml
View file @
df8aa61a
...
@@ -4,13 +4,13 @@
...
@@ -4,13 +4,13 @@
%fieldset
%fieldset
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:signup_enabled
do
=
f
.
label
:signup_enabled
do
=
f
.
check_box
:signup_enabled
=
f
.
check_box
:signup_enabled
Sign-up enabled
Sign-up enabled
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:send_user_confirmation_email
do
=
f
.
label
:send_user_confirmation_email
do
=
f
.
check_box
:send_user_confirmation_email
=
f
.
check_box
:send_user_confirmation_email
Send confirmation email on sign-up
Send confirmation email on sign-up
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
.form-group
.form-group
=
f
.
label
:domain_blacklist_enabled
,
'Domain Blacklist'
,
class:
'control-label col-sm-2'
=
f
.
label
:domain_blacklist_enabled
,
'Domain Blacklist'
,
class:
'control-label col-sm-2'
.col-sm-10
.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:domain_blacklist_enabled
do
=
f
.
label
:domain_blacklist_enabled
do
=
f
.
check_box
:domain_blacklist_enabled
=
f
.
check_box
:domain_blacklist_enabled
Enable domain blacklist for sign ups
Enable domain blacklist for sign ups
...
...
app/views/admin/application_settings/_spam.html.haml
View file @
df8aa61a
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
%fieldset
%fieldset
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:recaptcha_enabled
do
=
f
.
label
:recaptcha_enabled
do
=
f
.
check_box
:recaptcha_enabled
=
f
.
check_box
:recaptcha_enabled
Enable reCAPTCHA
Enable reCAPTCHA
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:akismet_enabled
do
=
f
.
label
:akismet_enabled
do
=
f
.
check_box
:akismet_enabled
=
f
.
check_box
:akismet_enabled
Enable Akismet
Enable Akismet
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:unique_ips_limit_enabled
do
=
f
.
label
:unique_ips_limit_enabled
do
=
f
.
check_box
:unique_ips_limit_enabled
=
f
.
check_box
:unique_ips_limit_enabled
Limit sign in from multiple ips
Limit sign in from multiple ips
...
...
app/views/admin/application_settings/_usage.html.haml
View file @
df8aa61a
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
%fieldset
%fieldset
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:version_check_enabled
do
=
f
.
label
:version_check_enabled
do
=
f
.
check_box
:version_check_enabled
=
f
.
check_box
:version_check_enabled
Enable version check
Enable version check
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
-
can_be_configured
=
@application_setting
.
usage_ping_can_be_configured?
-
can_be_configured
=
@application_setting
.
usage_ping_can_be_configured?
.
checkbox
.
form-check
=
f
.
label
:usage_ping_enabled
do
=
f
.
label
:usage_ping_enabled
do
=
f
.
check_box
:usage_ping_enabled
,
disabled:
!
can_be_configured
=
f
.
check_box
:usage_ping_enabled
,
disabled:
!
can_be_configured
Enable usage ping
Enable usage ping
...
...
app/views/admin/application_settings/_visibility_and_access.html.haml
View file @
df8aa61a
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
-
checkbox_name
=
'application_setting[restricted_visibility_levels][]'
-
checkbox_name
=
'application_setting[restricted_visibility_levels][]'
=
hidden_field_tag
(
checkbox_name
)
=
hidden_field_tag
(
checkbox_name
)
-
restricted_level_checkboxes
(
'restricted-visibility-help'
,
checkbox_name
).
each
do
|
level
|
-
restricted_level_checkboxes
(
'restricted-visibility-help'
,
checkbox_name
).
each
do
|
level
|
.
checkbox
.
form-check
=
level
=
level
%span
.help-block
#restricted-visibility-help
%span
.help-block
#restricted-visibility-help
Selected levels cannot be used by non-admin users for projects or snippets.
Selected levels cannot be used by non-admin users for projects or snippets.
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
=
f
.
label
:import_sources
,
class:
'control-label col-sm-2'
=
f
.
label
:import_sources
,
class:
'control-label col-sm-2'
.col-sm-10
.col-sm-10
-
import_sources_checkboxes
(
'import-sources-help'
).
each
do
|
source
|
-
import_sources_checkboxes
(
'import-sources-help'
).
each
do
|
source
|
.
checkbox
=
source
.
form-check
=
source
%span
.help-block
#import-sources-help
%span
.help-block
#import-sources-help
Enabled sources for code import during project creation. OmniAuth must be configured for GitHub
Enabled sources for code import during project creation. OmniAuth must be configured for GitHub
=
link_to
"(?)"
,
help_page_path
(
"integration/github"
)
=
link_to
"(?)"
,
help_page_path
(
"integration/github"
)
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:project_export_enabled
do
=
f
.
label
:project_export_enabled
do
=
f
.
check_box
:project_export_enabled
=
f
.
check_box
:project_export_enabled
Project export enabled
Project export enabled
...
...
app/views/admin/hooks/_form.html.haml
View file @
df8aa61a
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
This URL will be triggered when a merge request is created/updated/merged
This URL will be triggered when a merge request is created/updated/merged
.form-group
.form-group
=
form
.
label
:enable_ssl_verification
,
'SSL verification'
,
class:
'label-light checkbox'
=
form
.
label
:enable_ssl_verification
,
'SSL verification'
,
class:
'label-light checkbox'
.
checkbox
.
form-check
=
form
.
label
:enable_ssl_verification
do
=
form
.
label
:enable_ssl_verification
do
=
form
.
check_box
:enable_ssl_verification
=
form
.
check_box
:enable_ssl_verification
%strong
Enable SSL verification
%strong
Enable SSL verification
app/views/devise/sessions/_new_base.html.haml
View file @
df8aa61a
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
=
f
.
label
:password
=
f
.
label
:password
=
f
.
password_field
:password
,
class:
"form-control bottom"
,
required:
true
,
title:
"This field is required."
=
f
.
password_field
:password
,
class:
"form-control bottom"
,
required:
true
,
title:
"This field is required."
-
if
devise_mapping
.
rememberable?
-
if
devise_mapping
.
rememberable?
.remember-me.
checkbox
.remember-me.
form-check
%label
{
for:
"user_remember_me"
}
%label
{
for:
"user_remember_me"
}
=
f
.
check_box
:remember_me
,
class:
'remember-me-checkbox'
=
f
.
check_box
:remember_me
,
class:
'remember-me-checkbox'
%span
Remember me
%span
Remember me
...
...
app/views/devise/sessions/_new_crowd.html.haml
View file @
df8aa61a
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
=
label_tag
:password
=
label_tag
:password
=
password_field_tag
:password
,
nil
,
{
class:
"form-control bottom"
,
title:
"This field is required."
,
required:
true
}
=
password_field_tag
:password
,
nil
,
{
class:
"form-control bottom"
,
title:
"This field is required."
,
required:
true
}
-
if
devise_mapping
.
rememberable?
-
if
devise_mapping
.
rememberable?
.remember-me.
checkbox
.remember-me.
form-check
%label
{
for:
"remember_me"
}
%label
{
for:
"remember_me"
}
=
check_box_tag
:remember_me
,
'1'
,
false
,
id:
'remember_me'
=
check_box_tag
:remember_me
,
'1'
,
false
,
id:
'remember_me'
%span
Remember me
%span
Remember me
...
...
app/views/devise/sessions/_new_ldap.html.haml
View file @
df8aa61a
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
=
label_tag
:password
=
label_tag
:password
=
password_field_tag
:password
,
nil
,
{
class:
"form-control bottom"
,
title:
"This field is required."
,
required:
true
}
=
password_field_tag
:password
,
nil
,
{
class:
"form-control bottom"
,
title:
"This field is required."
,
required:
true
}
-
if
devise_mapping
.
rememberable?
-
if
devise_mapping
.
rememberable?
.remember-me.
checkbox
.remember-me.
form-check
%label
{
for:
"remember_me"
}
%label
{
for:
"remember_me"
}
=
check_box_tag
:remember_me
,
'1'
,
false
,
id:
'remember_me'
=
check_box_tag
:remember_me
,
'1'
,
false
,
id:
'remember_me'
%span
Remember me
%span
Remember me
...
...
app/views/devise/shared/_omniauth_box.html.haml
View file @
df8aa61a
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
%span
.light
%span
.light
-
has_icon
=
provider_has_icon?
(
provider
)
-
has_icon
=
provider_has_icon?
(
provider
)
=
link_to
provider_image_tag
(
provider
),
omniauth_authorize_path
(
:user
,
provider
),
method: :post
,
class:
'oauth-login'
+
(
has_icon
?
' oauth-image-link'
:
' btn'
),
id:
"oauth-login-
#{
provider
}
"
=
link_to
provider_image_tag
(
provider
),
omniauth_authorize_path
(
:user
,
provider
),
method: :post
,
class:
'oauth-login'
+
(
has_icon
?
' oauth-image-link'
:
' btn'
),
id:
"oauth-login-
#{
provider
}
"
%fieldset
.prepend-top-10.
checkbox
.remember-me
%fieldset
.prepend-top-10.
form-check
.remember-me
%label
%label
=
check_box_tag
:remember_me
,
nil
,
false
,
class:
'remember-me-checkbox'
=
check_box_tag
:remember_me
,
nil
,
false
,
class:
'remember-me-checkbox'
%span
%span
...
...
app/views/groups/_create_chat_team.html.haml
View file @
df8aa61a
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
=
custom_icon
(
'icon_mattermost'
)
=
custom_icon
(
'icon_mattermost'
)
Mattermost
Mattermost
.col-sm-10
.col-sm-10
.
checkbox
.js-toggle-container
.
form-check
.js-toggle-container
=
f
.
label
:create_chat_team
do
=
f
.
label
:create_chat_team
do
.js-toggle-button
=
f
.
check_box
(
:create_chat_team
,
{
checked:
true
},
true
,
false
)
.js-toggle-button
=
f
.
check_box
(
:create_chat_team
,
{
checked:
true
},
true
,
false
)
Create a Mattermost team for this group
Create a Mattermost team for this group
...
...
app/views/groups/_group_admin_settings.html.haml
View file @
df8aa61a
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
.form-group
.form-group
=
f
.
label
:lfs_enabled
,
'Large File Storage'
,
class:
'control-label'
=
f
.
label
:lfs_enabled
,
'Large File Storage'
,
class:
'control-label'
.col-sm-10
.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:lfs_enabled
do
=
f
.
label
:lfs_enabled
do
=
f
.
check_box
:lfs_enabled
,
checked:
@group
.
lfs_enabled?
=
f
.
check_box
:lfs_enabled
,
checked:
@group
.
lfs_enabled?
%strong
%strong
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
.form-group
.form-group
=
f
.
label
:require_two_factor_authentication
,
'Two-factor authentication'
,
class:
'control-label col-sm-2'
=
f
.
label
:require_two_factor_authentication
,
'Two-factor authentication'
,
class:
'control-label col-sm-2'
.col-sm-10
.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:require_two_factor_authentication
do
=
f
.
label
:require_two_factor_authentication
do
=
f
.
check_box
:require_two_factor_authentication
=
f
.
check_box
:require_two_factor_authentication
%strong
%strong
...
@@ -23,6 +23,6 @@
...
@@ -23,6 +23,6 @@
=
link_to
icon
(
'question-circle'
),
help_page_path
(
'security/two_factor_authentication'
,
anchor:
'enforcing-2fa-for-all-users-in-a-group'
)
=
link_to
icon
(
'question-circle'
),
help_page_path
(
'security/two_factor_authentication'
,
anchor:
'enforcing-2fa-for-all-users-in-a-group'
)
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
f
.
text_field
:two_factor_grace_period
,
class:
'form-control'
=
f
.
text_field
:two_factor_grace_period
,
class:
'form-control'
.help-block
Amount of time (in hours) that users are allowed to skip forced configuration of two-factor authentication
.help-block
Amount of time (in hours) that users are allowed to skip forced configuration of two-factor authentication
app/views/groups/edit.html.haml
View file @
df8aa61a
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
%label
.control-label
%label
.control-label
=
s_
(
"GroupSettings|Share with group lock"
)
=
s_
(
"GroupSettings|Share with group lock"
)
.col-sm-10
.col-sm-10
.
checkbox
.
form-check
=
f
.
label
:share_with_group_lock
do
=
f
.
label
:share_with_group_lock
do
=
f
.
check_box
:share_with_group_lock
,
disabled:
!
can_change_share_with_group_lock?
(
@group
)
=
f
.
check_box
:share_with_group_lock
,
disabled:
!
can_change_share_with_group_lock?
(
@group
)
%strong
%strong
...
...
app/views/help/ui.html.haml
View file @
df8aa61a
...
@@ -472,7 +472,7 @@
...
@@ -472,7 +472,7 @@
%input
#inputPassword3
.form-control
{
:placeholder
=>
"Password"
,
:type
=>
"password"
}
/
%input
#inputPassword3
.form-control
{
:placeholder
=>
"Password"
,
:type
=>
"password"
}
/
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
%label
%label
%input
{
:type
=>
"checkbox"
}
/
%input
{
:type
=>
"checkbox"
}
/
Remember me
Remember me
...
@@ -492,7 +492,7 @@
...
@@ -492,7 +492,7 @@
.form-group
.form-group
%label
{
:for
=>
"exampleInputPassword1"
}
Password
%label
{
:for
=>
"exampleInputPassword1"
}
Password
%input
#exampleInputPassword1
.form-control
{
:placeholder
=>
"Password"
,
:type
=>
"password"
}
/
%input
#exampleInputPassword1
.form-control
{
:placeholder
=>
"Password"
,
:type
=>
"password"
}
/
.
checkbox
.
form-check
%label
%label
%input
{
:type
=>
"checkbox"
}
/
%input
{
:type
=>
"checkbox"
}
/
Remember me
Remember me
...
...
app/views/projects/_merge_request_merge_settings.html.haml
View file @
df8aa61a
-
form
=
local_assigns
.
fetch
(
:form
)
-
form
=
local_assigns
.
fetch
(
:form
)
.form-group
.form-group
.
checkbox
.builds-feature
{
class:
(
"hidden"
if
@project
&&
@project
.
project_feature
.
send
(
:builds_access_level
)
==
0
)
}
.
form-check
.builds-feature
{
class:
(
"hidden"
if
@project
&&
@project
.
project_feature
.
send
(
:builds_access_level
)
==
0
)
}
=
form
.
label
:only_allow_merge_if_pipeline_succeeds
do
=
form
.
label
:only_allow_merge_if_pipeline_succeeds
do
=
form
.
check_box
:only_allow_merge_if_pipeline_succeeds
=
form
.
check_box
:only_allow_merge_if_pipeline_succeeds
%strong
Only allow merge requests to be merged if the pipeline succeeds
%strong
Only allow merge requests to be merged if the pipeline succeeds
...
@@ -9,15 +9,15 @@
...
@@ -9,15 +9,15 @@
%span
.descr
%span
.descr
Pipelines need to be configured to enable this feature.
Pipelines need to be configured to enable this feature.
=
link_to
icon
(
'question-circle'
),
help_page_path
(
'user/project/merge_requests/merge_when_pipeline_succeeds'
,
anchor:
'only-allow-merge-requests-to-be-merged-if-the-pipeline-succeeds'
),
target:
'_blank'
=
link_to
icon
(
'question-circle'
),
help_page_path
(
'user/project/merge_requests/merge_when_pipeline_succeeds'
,
anchor:
'only-allow-merge-requests-to-be-merged-if-the-pipeline-succeeds'
),
target:
'_blank'
.
checkbox
.
form-check
=
form
.
label
:only_allow_merge_if_all_discussions_are_resolved
do
=
form
.
label
:only_allow_merge_if_all_discussions_are_resolved
do
=
form
.
check_box
:only_allow_merge_if_all_discussions_are_resolved
=
form
.
check_box
:only_allow_merge_if_all_discussions_are_resolved
%strong
Only allow merge requests to be merged if all discussions are resolved
%strong
Only allow merge requests to be merged if all discussions are resolved
.
checkbox
.
form-check
=
form
.
label
:resolve_outdated_diff_discussions
do
=
form
.
label
:resolve_outdated_diff_discussions
do
=
form
.
check_box
:resolve_outdated_diff_discussions
=
form
.
check_box
:resolve_outdated_diff_discussions
%strong
Automatically resolve merge request diff discussions when they become outdated
%strong
Automatically resolve merge request diff discussions when they become outdated
.
checkbox
.
form-check
=
form
.
label
:printing_merge_request_link_enabled
do
=
form
.
label
:printing_merge_request_link_enabled
do
=
form
.
check_box
:printing_merge_request_link_enabled
=
form
.
check_box
:printing_merge_request_link_enabled
%strong
Show link to create/view merge request when pushing from the command line
%strong
Show link to create/view merge request when pushing from the command line
app/views/projects/deploy_keys/_form.html.haml
View file @
df8aa61a
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
=
f
.
fields_for
:deploy_keys_projects
do
|
deploy_keys_project_form
|
=
f
.
fields_for
:deploy_keys_projects
do
|
deploy_keys_project_form
|
.form-group
.form-group
.
checkbox
.
form-check
=
deploy_keys_project_form
.
label
:can_push
do
=
deploy_keys_project_form
.
label
:can_push
do
=
deploy_keys_project_form
.
check_box
:can_push
=
deploy_keys_project_form
.
check_box
:can_push
%strong
Write access allowed
%strong
Write access allowed
...
...
app/views/projects/network/show.html.haml
View file @
df8aa61a
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
=
button_tag
class:
'btn btn-success'
do
=
button_tag
class:
'btn btn-success'
do
=
icon
(
'search'
)
=
icon
(
'search'
)
.inline.prepend-left-20
.inline.prepend-left-20
.
checkbox
.light
.
form-check
.light
=
label_tag
:filter_ref
do
=
label_tag
:filter_ref
do
=
check_box_tag
:filter_ref
,
1
,
@options
[
:filter_ref
]
=
check_box_tag
:filter_ref
,
1
,
@options
[
:filter_ref
]
%span
=
_
(
"Begin with the selected commit"
)
%span
=
_
(
"Begin with the selected commit"
)
...
...
app/views/projects/runners/_form.html.haml
View file @
df8aa61a
...
@@ -3,25 +3,25 @@
...
@@ -3,25 +3,25 @@
.form-group
.form-group
=
label
:active
,
"Active"
,
class:
'control-label'
=
label
:active
,
"Active"
,
class:
'control-label'
.col-sm-10
.col-sm-10
.
checkbox
.
form-check
=
f
.
check_box
:active
=
f
.
check_box
:active
%span
.light
Paused Runners don't accept new jobs
%span
.light
Paused Runners don't accept new jobs
.form-group
.form-group
=
label
:protected
,
"Protected"
,
class:
'control-label'
=
label
:protected
,
"Protected"
,
class:
'control-label'
.col-sm-10
.col-sm-10
.
checkbox
.
form-check
=
f
.
check_box
:access_level
,
{},
'ref_protected'
,
'not_protected'
=
f
.
check_box
:access_level
,
{},
'ref_protected'
,
'not_protected'
%span
.light
This runner will only run on pipelines triggered on protected branches
%span
.light
This runner will only run on pipelines triggered on protected branches
.form-group
.form-group
=
label
:run_untagged
,
'Run untagged jobs'
,
class:
'control-label'
=
label
:run_untagged
,
'Run untagged jobs'
,
class:
'control-label'
.col-sm-10
.col-sm-10
.
checkbox
.
form-check
=
f
.
check_box
:run_untagged
=
f
.
check_box
:run_untagged
%span
.light
Indicates whether this runner can pick jobs without tags
%span
.light
Indicates whether this runner can pick jobs without tags
.form-group
.form-group
=
label
:locked
,
'Lock to current projects'
,
class:
'control-label'
=
label
:locked
,
'Lock to current projects'
,
class:
'control-label'
.col-sm-10
.col-sm-10
.
checkbox
.
form-check
=
f
.
check_box
:locked
=
f
.
check_box
:locked
%span
.light
When a runner is locked, it cannot be assigned to other projects
%span
.light
When a runner is locked, it cannot be assigned to other projects
.form-group
.form-group
...
...
app/views/projects/settings/ci_cd/_form.html.haml
View file @
df8aa61a
...
@@ -90,7 +90,7 @@
...
@@ -90,7 +90,7 @@
%hr
%hr
.form-group
.form-group
.
checkbox
.
form-check
=
f
.
label
:public_builds
do
=
f
.
label
:public_builds
do
=
f
.
check_box
:public_builds
=
f
.
check_box
:public_builds
%strong
Public pipelines
%strong
Public pipelines
...
@@ -112,7 +112,7 @@
...
@@ -112,7 +112,7 @@
%hr
%hr
.form-group
.form-group
.
checkbox
.
form-check
=
f
.
label
:auto_cancel_pending_pipelines
do
=
f
.
label
:auto_cancel_pending_pipelines
do
=
f
.
check_box
:auto_cancel_pending_pipelines
,
{},
'enabled'
,
'disabled'
=
f
.
check_box
:auto_cancel_pending_pipelines
,
{},
'enabled'
,
'disabled'
%strong
Auto-cancel redundant, pending pipelines
%strong
Auto-cancel redundant, pending pipelines
...
...
app/views/shared/_allow_request_access.html.haml
View file @
df8aa61a
.
checkbox
.
form-check
=
form
.
label
:request_access_enabled
do
=
form
.
label
:request_access_enabled
do
=
form
.
check_box
:request_access_enabled
=
form
.
check_box
:request_access_enabled
%strong
Allow users to request access
%strong
Allow users to request access
...
...
app/views/shared/_new_merge_request_checkbox.html.haml
View file @
df8aa61a
.
checkbox
.
form-check
-
nonce
=
SecureRandom
.
hex
-
nonce
=
SecureRandom
.
hex
=
label_tag
"create_merge_request-
#{
nonce
}
"
do
=
label_tag
"create_merge_request-
#{
nonce
}
"
do
=
check_box_tag
'create_merge_request'
,
1
,
true
,
class:
'js-create-merge-request'
,
id:
"create_merge_request-
#{
nonce
}
"
=
check_box_tag
'create_merge_request'
,
1
,
true
,
class:
'js-create-merge-request'
,
id:
"create_merge_request-
#{
nonce
}
"
...
...
app/views/shared/issuable/_form.html.haml
View file @
df8aa61a
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
-
if
issuable
.
respond_to?
(
:confidential
)
-
if
issuable
.
respond_to?
(
:confidential
)
.form-group
.form-group
.col-sm-offset-2.col-sm-10
.col-sm-offset-2.col-sm-10
.
checkbox
.
form-check
=
form
.
label
:confidential
do
=
form
.
label
:confidential
do
=
form
.
check_box
:confidential
=
form
.
check_box
:confidential
This issue is confidential and should only be visible to team members with at least Reporter access.
This issue is confidential and should only be visible to team members with at least Reporter access.
...
...
app/views/shared/issuable/form/_contribution.html.haml
View file @
df8aa61a
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
.control-label
.control-label
=
_
(
'Contribution'
)
=
_
(
'Contribution'
)
.col-sm-10
.col-sm-10
.
checkbox
.
form-check
=
form
.
label
:allow_maintainer_to_push
do
=
form
.
label
:allow_maintainer_to_push
do
=
form
.
check_box
:allow_maintainer_to_push
,
disabled:
!
issuable
.
can_allow_maintainer_to_push?
(
current_user
)
=
form
.
check_box
:allow_maintainer_to_push
,
disabled:
!
issuable
.
can_allow_maintainer_to_push?
(
current_user
)
=
_
(
'Allow edits from maintainers.'
)
=
_
(
'Allow edits from maintainers.'
)
...
...
app/views/shared/issuable/form/_merge_params.html.haml
View file @
df8aa61a
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
.form-group
.form-group
.col-sm-10.col-sm-offset-2
.col-sm-10.col-sm-offset-2
-
if
issuable
.
can_remove_source_branch?
(
current_user
)
-
if
issuable
.
can_remove_source_branch?
(
current_user
)
.
checkbox
.
form-check
=
label_tag
'merge_request[force_remove_source_branch]'
do
=
label_tag
'merge_request[force_remove_source_branch]'
do
=
hidden_field_tag
'merge_request[force_remove_source_branch]'
,
'0'
,
id:
nil
=
hidden_field_tag
'merge_request[force_remove_source_branch]'
,
'0'
,
id:
nil
=
check_box_tag
'merge_request[force_remove_source_branch]'
,
'1'
,
issuable
.
force_remove_source_branch?
=
check_box_tag
'merge_request[force_remove_source_branch]'
,
'1'
,
issuable
.
force_remove_source_branch?
...
...
app/views/shared/notifications/_custom_notifications.html.haml
View file @
df8aa61a
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
-
NotificationSetting
::
EMAIL_EVENTS
.
each_with_index
do
|
event
,
index
|
-
NotificationSetting
::
EMAIL_EVENTS
.
each_with_index
do
|
event
,
index
|
-
field_id
=
"
#{
notifications_menu_identifier
(
"modal"
,
notification_setting
)
}
_notification_setting[
#{
event
}
]"
-
field_id
=
"
#{
notifications_menu_identifier
(
"modal"
,
notification_setting
)
}
_notification_setting[
#{
event
}
]"
.form-group
.form-group
.
checkbox
{
class:
(
"prepend-top-0"
if
index
==
0
)
}
.
form-check
{
class:
(
"prepend-top-0"
if
index
==
0
)
}
%label
{
for:
field_id
}
%label
{
for:
field_id
}
=
check_box
(
"notification_setting"
,
event
,
id:
field_id
,
class:
"js-custom-notification-event"
,
checked:
notification_setting
.
public_send
(
event
))
=
check_box
(
"notification_setting"
,
event
,
id:
field_id
,
class:
"js-custom-notification-event"
,
checked:
notification_setting
.
public_send
(
event
))
%strong
%strong
...
...
app/views/shared/web_hooks/_form.html.haml
View file @
df8aa61a
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
This URL will be triggered when a wiki page is created/updated
This URL will be triggered when a wiki page is created/updated
.form-group
.form-group
=
form
.
label
:enable_ssl_verification
,
'SSL verification'
,
class:
'label-light checkbox'
=
form
.
label
:enable_ssl_verification
,
'SSL verification'
,
class:
'label-light checkbox'
.
checkbox
.
form-check
=
form
.
label
:enable_ssl_verification
do
=
form
.
label
:enable_ssl_verification
do
=
form
.
check_box
:enable_ssl_verification
=
form
.
check_box
:enable_ssl_verification
%strong
Enable SSL verification
%strong
Enable SSL verification
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