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
5f6f9f85
Commit
5f6f9f85
authored
Jul 22, 2021
by
Kev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate LFS checkbox to gitlab_ui_checkbox_component
parent
26720aaf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
app/views/groups/settings/_lfs.html.haml
app/views/groups/settings/_lfs.html.haml
+4
-5
No files found.
app/views/groups/settings/_lfs.html.haml
View file @
5f6f9f85
...
@@ -6,8 +6,7 @@
...
@@ -6,8 +6,7 @@
%p
=
s_
(
'Check the %{docs_link_start}documentation%{docs_link_end}.'
).
html_safe
%
{
docs_link_start:
docs_link_start
,
docs_link_end:
'</a>'
.
html_safe
}
%p
=
s_
(
'Check the %{docs_link_start}documentation%{docs_link_end}.'
).
html_safe
%
{
docs_link_start:
docs_link_start
,
docs_link_end:
'</a>'
.
html_safe
}
.form-group.gl-mb-3
.form-group.gl-mb-3
.gl-form-checkbox.custom-control.custom-checkbox
=
f
.
gitlab_ui_checkbox_component
:lfs_enabled
,
=
f
.
check_box
:lfs_enabled
,
checked:
@group
.
lfs_enabled?
,
class:
'custom-control-input'
,
data:
{
qa_selector:
'lfs_checkbox'
}
_
(
'Allow projects within this group to use Git LFS'
),
=
f
.
label
:lfs_enabled
,
class:
'custom-control-label'
do
help_text:
_
(
'This setting can be overridden in each project.'
),
=
_
(
'Allow projects within this group to use Git LFS'
)
checkbox_options:
{
checked:
@group
.
lfs_enabled?
,
data:
{
qa_selector:
'lfs_checkbox'
}
}
%p
.help-text
=
_
(
'This setting can be overridden in each project.'
)
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