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
6789af7d
Commit
6789af7d
authored
Aug 06, 2017
by
Tim Zallmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Tabs on Service Desk
parent
1209c552
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
107 deletions
+2
-107
app/views/projects/edit.html.haml
app/views/projects/edit.html.haml
+2
-107
No files found.
app/views/projects/edit.html.haml
View file @
6789af7d
...
...
@@ -49,111 +49,6 @@
=
f
.
label
:tag_list
,
"Tags"
,
class:
'label-light'
=
f
.
text_field
:tag_list
,
value:
@project
.
tag_list
.
sort
.
join
(
', '
),
maxlength:
2000
,
class:
"form-control"
%p
.help-block
Separate tags with commas.
%hr
%fieldset
%h5
.prepend-top-0
Sharing
&
Permissions
.form_group.prepend-top-20.sharing-and-permissions
.row.js-visibility-select
.col-md-8
.label-light
=
label_tag
:project_visibility
,
'Project Visibility'
,
class:
'label-light'
,
for: :project_visibility_level
=
link_to
icon
(
'question-circle'
),
help_page_path
(
"public_access/public_access"
)
%span
.help-block
.col-md-4.visibility-select-container
=
render
(
'projects/visibility_select'
,
model_method: :visibility_level
,
form:
f
,
selected_level:
@project
.
visibility_level
)
=
f
.
fields_for
:project_feature
do
|
feature_fields
|
%fieldset
.features
.row
.col-md-8.project-feature
=
feature_fields
.
label
:repository_access_level
,
"Repository"
,
class:
'label-light'
%span
.help-block
View and edit files in this project
.col-md-4.js-repo-access-level
=
project_feature_access_select
(
:repository_access_level
)
.row
.col-md-8.project-feature.nested
=
feature_fields
.
label
:merge_requests_access_level
,
"Merge requests"
,
class:
'label-light'
%span
.help-block
Submit changes to be merged upstream
.col-md-4
=
project_feature_access_select
(
:merge_requests_access_level
)
.row
.col-md-8.project-feature.nested
=
feature_fields
.
label
:builds_access_level
,
"Pipelines"
,
class:
'label-light'
%span
.help-block
Build, test, and deploy your changes
.col-md-4
=
project_feature_access_select
(
:builds_access_level
)
.row
.col-md-8.project-feature
=
feature_fields
.
label
:snippets_access_level
,
"Snippets"
,
class:
'label-light'
%span
.help-block
Share code pastes with others out of Git repository
.col-md-4
=
project_feature_access_select
(
:snippets_access_level
)
.row
.col-md-8.project-feature
=
feature_fields
.
label
:issues_access_level
,
"Issues"
,
class:
'label-light'
%span
.help-block
Lightweight issue tracking system for this project
.col-md-4
=
project_feature_access_select
(
:issues_access_level
)
.row
.col-md-8.project-feature
=
feature_fields
.
label
:wiki_access_level
,
"Wiki"
,
class:
'label-light'
%span
.help-block
Pages for project documentation
.col-md-4
=
project_feature_access_select
(
:wiki_access_level
)
.form-group
=
render
'shared/allow_request_access'
,
form:
f
-
if
Gitlab
.
config
.
lfs
.
enabled
&&
current_user
.
admin?
.row.js-lfs-enabled
.col-md-8
=
f
.
label
:lfs_enabled
,
'LFS'
,
class:
'label-light'
%span
.help-block
Git Large File Storage
=
link_to
icon
(
'question-circle'
),
help_page_path
(
'workflow/lfs/manage_large_binaries_with_git_lfs'
)
.col-md-4
.select-wrapper
=
f
.
select
:lfs_enabled
,
[
%w(Enabled true)
,
%w(Disabled false)
],
{},
selected:
@project
.
lfs_enabled?
,
class:
'pull-right form-control project-repo-select select-control'
,
data:
{
field:
'lfs_enabled'
}
=
icon
(
'chevron-down'
)
-
if
Gitlab
.
config
.
registry
.
enabled
.form-group.js-container-registry
{
style:
(
"display: none;"
if
@project
.
project_feature
.
send
(
:repository_access_level
)
==
0
)
}
.checkbox
=
f
.
label
:container_registry_enabled
do
=
f
.
check_box
:container_registry_enabled
%strong
Container Registry
%br
%span
.descr
Enable Container Registry for this project
=
link_to
icon
(
'question-circle'
),
help_page_path
(
'user/project/container_registry'
),
target:
'_blank'
=
render
'projects/ee/issues_settings'
,
form:
f
=
render
'merge_request_settings'
,
form:
f
%div
License
#{
License
.
current
.
nil?
}
License.current
%div
Check Namespace plan
#{
current_application_settings
.
should_check_namespace_plan?
}
%div
Show Callout
#{
show_callout?
(
'promote_service_desk_dismissed'
)
}
%div
.com
#{
Gitlab
.
com?
}
-
if
EE
::
Gitlab
::
ServiceDesk
.
enabled?
(
project:
@project
)
%hr
%fieldset
.js-service-desk-setting-wrapper.features.append-bottom-default
%h5
.prepend-top-0
Service Desk
=
link_to
icon
(
'question-circle'
),
help_page_path
(
'user/project/service_desk'
)
.js-service-desk-setting-root
{
data:
{
endpoint:
project_service_desk_path
(
@project
),
enabled:
"#{@project.service_desk_enabled}"
,
incoming_email:
(
@project
.
service_desk_address
if
@project
.
service_desk_enabled
)
}
}
-
elsif
show_promotions?
&&
show_callout?
(
'promote_service_desk_dismissed'
)
=
render
'shared/promotions/promote_servicedesk'
%hr
%fieldset
.features.append-bottom-default
%h5
.prepend-top-0
Project avatar
.form-group
...
...
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