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
Jérome Perrin
gitlab-ce
Commits
f94d51d7
Commit
f94d51d7
authored
Dec 15, 2011
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved project remove button to edit section
parent
42c46f37
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
14 deletions
+8
-14
app/views/projects/_form.html.haml
app/views/projects/_form.html.haml
+8
-3
app/views/projects/empty.html.erb
app/views/projects/empty.html.erb
+0
-11
No files found.
app/views/projects/_form.html.haml
View file @
f94d51d7
...
...
@@ -42,9 +42,6 @@
%td
=
f
.
text_area
:description
,
:placeholder
=>
"project description"
,
:style
=>
"height:50px"
%br
.actions
=
f
.
submit
:class
=>
"button"
%div
{
:class
=>
"ajax_loader"
,
:style
=>
"display:none;height:200px;"
}
%center
=
image_tag
"ajax-loader.gif"
,
:class
=>
"append-bottom"
...
...
@@ -52,6 +49,14 @@
%h3
.prepend-top
Creating project
&
repository. Please wait for few minutes
-
else
%h3
.prepend-top
Updating project
&
repository. Please wait for few minutes
.merge-tabs
=
f
.
submit
'Save'
,
:class
=>
"grey-button"
-
unless
@project
.
new_record?
.right
=
link_to
'Remove'
,
@project
,
:confirm
=>
'Are you sure?'
,
:method
=>
:delete
,
:class
=>
"red-button"
:javascript
$
(
'
.new_project, .edit_project
'
).
bind
(
'
ajax:before
'
,
function
()
{
...
...
app/views/projects/empty.html.erb
View file @
f94d51d7
...
...
@@ -34,17 +34,6 @@ eos
%>
<%=
raw
bash_lexer
.
highlight
(
exist_repo_setup_str
)
%>
<br
/><br
/>
<h2>
Remove this project?
</h2>
<div
class=
"error"
>
<p>
Be careful!
<br/>
Project cant be recovered after destroy.
</p>
<%=
link_to
'Destroy'
,
@project
,
:confirm
=>
'Are you sure?'
,
:method
=>
:delete
,
:class
=>
"left button negative span-6"
,
:style
=>
"text-align:center"
%>
<div
class=
"clear"
></div>
</div>
<br/>
</div>
</div>
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