BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
55582047
Commit
55582047
authored
Aug 15, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve UI for Project settings page
parent
f230591b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
6 deletions
+19
-6
edit.html.haml
app/views/projects/edit.html.haml
+19
-6
No files found.
app/views/projects/edit.html.haml
View file @
55582047
.project-edit-container
.project-edit-errors
.project-edit-content
.ui-box.white
.title
%strong
=
@project
.
name
project settings:
%div
%h3
.page-title
Project settings:
%p
.light
Some settings like transferring project are hidden inside danger area below
%hr
.form-holder
=
form_for
(
@project
,
remote:
true
)
do
|
f
|
%fieldset
...
...
@@ -100,6 +101,18 @@
.form-actions
=
f
.
submit
'Save changes'
,
class:
"btn btn-save"
%center
.light.prepend-top-20.padded
%h3
%i
.icon-warning-sign
Dangerous settings
%p
Project settings below may result in data loss!
=
link_to
'#'
,
class:
'btn js-toggle-visibility-link'
do
Show it to me
%i
.icon-chevron-down
.js-toggle-visibility-container.hide
-
if
can?
(
current_user
,
:change_namespace
,
@project
)
.ui-box.ui-box-danger
.title
Transfer project
...
...
@@ -144,10 +157,10 @@
.ui-box-body
%p
Remove of project will cause removing repository and all related resources like issues, merge requests etc.
%p
%br
%strong
Removed project can not be restored!
=
link_to
'Remove project'
,
@project
,
confirm:
remove_project_message
(
@project
),
method: :delete
,
class:
"btn btn-remove btn-small
"
=
link_to
'Remove project'
,
@project
,
confirm:
remove_project_message
(
@project
),
method: :delete
,
class:
"btn btn-remove
"
-
else
%p
.nothing_here_message
Only project owner can remove a 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