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
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
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
14 deletions
+8
-14
_form.html.haml
app/views/projects/_form.html.haml
+8
-3
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