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
0195b085
Commit
0195b085
authored
Sep 03, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Style groups page
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
aeeb31d6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
5 deletions
+12
-5
app/assets/stylesheets/generic/lists.scss
app/assets/stylesheets/generic/lists.scss
+4
-0
app/views/dashboard/groups/index.html.haml
app/views/dashboard/groups/index.html.haml
+7
-4
app/views/shared/groups/_group.html.haml
app/views/shared/groups/_group.html.haml
+1
-1
No files found.
app/assets/stylesheets/generic/lists.scss
View file @
0195b085
...
@@ -109,6 +109,10 @@ ul.content-list {
...
@@ -109,6 +109,10 @@ ul.content-list {
padding
:
18px
;
padding
:
18px
;
border-color
:
#f1f2f4
;
border-color
:
#f1f2f4
;
margin
:
0
-18px
;
margin
:
0
-18px
;
.avatar
{
margin-right
:
15px
;
}
}
}
}
}
app/views/dashboard/groups/index.html.haml
View file @
0195b085
-
page_title
"Groups"
-
page_title
"Groups"
=
render
'dashboard/groups_head'
=
render
'dashboard/groups_head'
.slead
.gray-content-block
Group members have access to all group projects.
-
if
current_user
.
can_create_group?
-
if
current_user
.
can_create_group?
%span
.pull-right.hidden-xs
%span
.pull-right.hidden-xs
=
link_to
new_group_path
,
class:
"btn btn-new
btn-sm
"
do
=
link_to
new_group_path
,
class:
"btn btn-new"
do
%i
.fa.fa-plus
%i
.fa.fa-plus
New Group
New Group
%ul
.bordered-list
Welcome to the groups!
%br
Group members have access to all group projects.
%ul
.content-list
-
@group_members
.
each
do
|
group_member
|
-
@group_members
.
each
do
|
group_member
|
-
group
=
group_member
.
group
-
group
=
group_member
.
group
=
render
'shared/groups/group'
,
group:
group
,
group_member:
group_member
=
render
'shared/groups/group'
,
group:
group
,
group_member:
group_member
...
...
app/views/shared/groups/_group.html.haml
View file @
0195b085
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
%i
.fa.fa-sign-out
%i
.fa.fa-sign-out
Leave
Leave
=
image_tag
group_icon
(
group
),
class:
"avatar s4
0 avatar-tile
hidden-xs"
=
image_tag
group_icon
(
group
),
class:
"avatar s4
8
hidden-xs"
=
link_to
group
,
class:
'group-name'
do
=
link_to
group
,
class:
'group-name'
do
%strong
=
group
.
name
%strong
=
group
.
name
...
...
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