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
Léo-Paul Géneau
gitlab-ce
Commits
f950d788
Commit
f950d788
authored
Nov 18, 2011
by
Alexander Randa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changing admin disign for projects finish
parent
5488f173
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
33 deletions
+45
-33
app/views/admin/projects/edit.html.haml
app/views/admin/projects/edit.html.haml
+2
-3
app/views/admin/projects/index.html.haml
app/views/admin/projects/index.html.haml
+1
-3
app/views/admin/projects/show.html.haml
app/views/admin/projects/show.html.haml
+42
-27
No files found.
app/views/admin/projects/edit.html.haml
View file @
f950d788
=
render
'form'
=
render
'form'
=
link_to
'Show'
,
[
:admin
,
@admin_project
]
=
link_to
'Back'
,
admin_projects_path
,
:class
=>
"right lbutton"
\|
=
link_to
'Show'
,
[
:admin
,
@admin_project
],
:class
=>
"right lbutton"
=
link_to
'Back'
,
admin_projects_path
\ No newline at end of file
app/views/admin/projects/index.html.haml
View file @
f950d788
...
@@ -20,7 +20,5 @@
...
@@ -20,7 +20,5 @@
%td
=
link_to
'Edit'
,
edit_admin_project_path
(
project
),
:id
=>
"edit_
#{
dom_id
(
project
)
}
"
%td
=
link_to
'Edit'
,
edit_admin_project_path
(
project
),
:id
=>
"edit_
#{
dom_id
(
project
)
}
"
%td
=
link_to
'Destroy'
,
[
:admin
,
project
],
:confirm
=>
'Are you sure?'
,
:method
=>
:delete
%td
=
link_to
'Destroy'
,
[
:admin
,
project
],
:confirm
=>
'Are you sure?'
,
:method
=>
:delete
%br
=
paginate
@admin_projects
=
paginate
@admin_projects
=
link_to
'New Project'
,
new_admin_project_path
=
link_to
'New Project'
,
new_admin_project_path
,
:class
=>
"lbutton"
app/views/admin/projects/show.html.haml
View file @
f950d788
-
unless
notice
.
nil?
-
unless
notice
.
nil?
%p
#notice
=
notice
%p
#notice
=
notice
#infoblock
%h2
=
@admin_project
.
name
%h2
=
@admin_project
.
name
%p
%table
.round-borders
%b
Name:
%tr
=
@admin_project
.
name
%td
%p
%b
%b
Code:
Name:
=
@admin_project
.
code
%td
%p
=
@admin_project
.
name
%b
Path:
%tr
=
@admin_project
.
path
%td
%p
%b
%b
Description:
Code:
=
@admin_project
.
description
%td
=
@admin_project
.
code
=
link_to
'Edit'
,
edit_admin_project_path
(
@admin_project
)
%tr
\|
%td
=
link_to
'Back'
,
admin_projects_path
%b
Path:
%td
=
@admin_project
.
path
%tr
%td
%b
Description:
%td
=
@admin_project
.
description
%tr
%td
{
:colspan
=>
2
}
=
link_to
'Edit'
,
edit_admin_project_path
(
@admin_project
),
:class
=>
"lbutton"
=
link_to
'Back'
,
admin_projects_path
,
:class
=>
"right lbutton"
.span-14
.span-14
%h2
Team
%h2
Team
%table
.round-borders
%table
.round-borders
%tr
%thead
%th
Name
%tr
%th
Added
%th
Name
%th
Web
%th
Added
%th
Git
%th
Web
%th
Admin
%th
Git
%th
%th
Admin
%th
-
@admin_project
.
users_projects
.
each
do
|
tm
|
-
@admin_project
.
users_projects
.
each
do
|
tm
|
%tr
%tr
...
@@ -43,4 +58,4 @@
...
@@ -43,4 +58,4 @@
%td
.span-2
=
check_box_tag
"admin"
,
1
,
@admin_project
.
admins
.
include?
(
tm
.
user
),
:disabled
=>
:disabled
%td
.span-2
=
check_box_tag
"admin"
,
1
,
@admin_project
.
admins
.
include?
(
tm
.
user
),
:disabled
=>
:disabled
%td
=
link_to
'Destroy'
,
admin_team_member_path
(
tm
),
:confirm
=>
'Are you sure?'
,
:method
=>
:delete
%td
=
link_to
'Destroy'
,
admin_team_member_path
(
tm
),
:confirm
=>
'Are you sure?'
,
:method
=>
:delete
=
link_to
'New Team Member'
,
new_admin_team_member_path
(
:team_member
=>
{
:project_id
=>
@admin_project
.
id
})
=
link_to
'New Team Member'
,
new_admin_team_member_path
(
:team_member
=>
{
:project_id
=>
@admin_project
.
id
})
,
:class
=>
"lbutton"
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