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
Boxiang Sun
gitlab-ce
Commits
b7e29af0
Commit
b7e29af0
authored
Nov 23, 2016
by
Patricio Cano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix `LFS enabled` select box.
It was not displaying the proper value and had an out of place look to it.
parent
7100b769
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
app/views/projects/edit.html.haml
app/views/projects/edit.html.haml
+7
-6
No files found.
app/views/projects/edit.html.haml
View file @
b7e29af0
...
@@ -92,14 +92,15 @@
...
@@ -92,14 +92,15 @@
=
project_feature_access_select
(
:wiki_access_level
)
=
project_feature_access_select
(
:wiki_access_level
)
-
if
Gitlab
.
config
.
lfs
.
enabled
&&
current_user
.
admin?
-
if
Gitlab
.
config
.
lfs
.
enabled
&&
current_user
.
admin?
.checkbox
.row
=
f
.
label
:lfs_enabled
do
.col-md-9
=
f
.
check_box
:lfs_enabled
=
f
.
label
:lfs_enabled
,
'LFS'
,
class:
'label-light'
%strong
LFS
%span
.help-block
%br
%span
.descr
Git Large File Storage
Git Large File Storage
=
link_to
icon
(
'question-circle'
),
help_page_path
(
'workflow/lfs/manage_large_binaries_with_git_lfs'
)
=
link_to
icon
(
'question-circle'
),
help_page_path
(
'workflow/lfs/manage_large_binaries_with_git_lfs'
)
.col-md-3
=
f
.
select
:lfs_enabled
,
[
%w(Enabled true)
,
%w(Disabled false)
],
{},
selected:
@project
.
lfs_enabled?
,
class:
'pull-right form-control'
,
data:
{
field:
'lfs_enabled'
}
-
if
Gitlab
.
config
.
registry
.
enabled
-
if
Gitlab
.
config
.
registry
.
enabled
.form-group.js-container-registry
{
style:
(
"display: none;"
if
@project
.
project_feature
.
send
(
:repository_access_level
)
==
0
)
}
.form-group.js-container-registry
{
style:
(
"display: none;"
if
@project
.
project_feature
.
send
(
:repository_access_level
)
==
0
)
}
...
...
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