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
7ea89083
Commit
7ea89083
authored
Jul 25, 2017
by
tauriedavis
Committed by
Phil Hughes
Jul 28, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix merge conflicts
parent
c8fbba43
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
215 additions
and
215 deletions
+215
-215
app/views/projects/edit.html.haml
app/views/projects/edit.html.haml
+215
-215
No files found.
app/views/projects/edit.html.haml
View file @
7ea89083
...
@@ -4,7 +4,8 @@
...
@@ -4,7 +4,8 @@
=
render
"projects/settings/head"
=
render
"projects/settings/head"
%section
.settings.general-settings
.project-edit-container
%section
.settings.general-settings
.settings-header
.settings-header
%h4
%h4
General project settings
General project settings
...
@@ -71,7 +72,7 @@
...
@@ -71,7 +72,7 @@
Enable or disable certain project features and choose access levels.
Enable or disable certain project features and choose access levels.
.settings-content.no-animate
{
class:
(
'expaneded'
if
expanded
)
}
.settings-content.no-animate
{
class:
(
'expaneded'
if
expanded
)
}
=
form_for
[
@project
.
namespace
.
becomes
(
Namespace
),
@project
],
remote:
true
,
html:
{
multipart:
true
,
class:
"sharing-permissions-form"
},
authenticity_token:
true
do
|
f
|
=
form_for
[
@project
.
namespace
.
becomes
(
Namespace
),
@project
],
remote:
true
,
html:
{
multipart:
true
,
class:
"sharing-permissions-form"
},
authenticity_token:
true
do
|
f
|
.form
-
group.sharing-and-permissions
.form
_
group.sharing-and-permissions
.row.js-visibility-select
.row.js-visibility-select
.col-md-8
.col-md-8
.label-light
.label-light
...
@@ -95,6 +96,7 @@
...
@@ -95,6 +96,7 @@
%span
.help-block
Submit changes to be merged upstream
%span
.help-block
Submit changes to be merged upstream
.col-md-4
.col-md-4
=
project_feature_access_select
(
:merge_requests_access_level
)
=
project_feature_access_select
(
:merge_requests_access_level
)
.row
.row
.col-md-8.project-feature.nested
.col-md-8.project-feature.nested
=
feature_fields
.
label
:builds_access_level
,
"Pipelines"
,
class:
'label-light'
=
feature_fields
.
label
:builds_access_level
,
"Pipelines"
,
class:
'label-light'
...
@@ -122,7 +124,6 @@
...
@@ -122,7 +124,6 @@
%span
.help-block
Pages for project documentation
%span
.help-block
Pages for project documentation
.col-md-4
.col-md-4
=
project_feature_access_select
(
:wiki_access_level
)
=
project_feature_access_select
(
:wiki_access_level
)
.form-group
.form-group
=
render
'shared/allow_request_access'
,
form:
f
=
render
'shared/allow_request_access'
,
form:
f
-
if
Gitlab
.
config
.
lfs
.
enabled
&&
current_user
.
admin?
-
if
Gitlab
.
config
.
lfs
.
enabled
&&
current_user
.
admin?
...
@@ -147,7 +148,7 @@
...
@@ -147,7 +148,7 @@
=
f
.
submit
'Save changes'
,
class:
"btn btn-save"
=
f
.
submit
'Save changes'
,
class:
"btn btn-save"
%section
.settings.merge-request-settings
{
style:
(
"display: none;"
if
@project
.
project_feature
.
send
(
:merge_requests_access_level
)
==
0
)
}
%section
.settings.merge-request-settings
{
style:
(
"display: none;"
if
@project
.
project_feature
.
send
(
:merge_requests_access_level
)
==
0
)
}
.settings-header
.settings-header
%h4
%h4
Merge request settings
Merge request settings
...
@@ -160,7 +161,7 @@
...
@@ -160,7 +161,7 @@
=
render
'merge_request_settings'
,
form:
f
=
render
'merge_request_settings'
,
form:
f
=
f
.
submit
'Save changes'
,
class:
"btn btn-save"
=
f
.
submit
'Save changes'
,
class:
"btn btn-save"
%section
.settings
%section
.settings
.settings-header
.settings-header
%h4
%h4
Export project
Export project
...
@@ -197,7 +198,7 @@
...
@@ -197,7 +198,7 @@
=
link_to
'Export project'
,
export_project_path
(
@project
),
=
link_to
'Export project'
,
export_project_path
(
@project
),
method: :post
,
class:
"btn btn-default"
method: :post
,
class:
"btn btn-default"
%section
.settings.advanced-settings
%section
.settings.advanced-settings
.settings-header
.settings-header
%h4
%h4
Advanced settings
Advanced settings
...
@@ -210,7 +211,7 @@
...
@@ -210,7 +211,7 @@
%h4
Housekeeping
%h4
Housekeeping
%p
%p
Runs a number of housekeeping tasks within the current repository, such as compressing file revisions and removing unreachable objects.
Runs a number of housekeeping tasks within the current repository, such as compressing file revisions and removing unreachable objects.
=
link_to
'H
ousekeeping'
,
housekeeping_project_path
(
@project
),
=
link_to
'Run h
ousekeeping'
,
housekeeping_project_path
(
@project
),
method: :post
,
class:
"btn btn-default"
method: :post
,
class:
"btn btn-default"
-
if
can?
current_user
,
:archive_project
,
@project
-
if
can?
current_user
,
:archive_project
,
@project
.sub-section
.sub-section
...
@@ -259,7 +260,6 @@
...
@@ -259,7 +260,6 @@
-
if
@project
.
deployment_services
.
any?
-
if
@project
.
deployment_services
.
any?
%li
Your deployment services will be broken, you will need to manually fix the services after renaming.
%li
Your deployment services will be broken, you will need to manually fix the services after renaming.
=
f
.
submit
'Rename project'
,
class:
"btn btn-warning"
=
f
.
submit
'Rename project'
,
class:
"btn btn-warning"
-
if
can?
(
current_user
,
:change_namespace
,
@project
)
-
if
can?
(
current_user
,
:change_namespace
,
@project
)
.sub-section
.sub-section
%h4
.danger-title
%h4
.danger-title
...
...
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