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
fd9a8c36
Unverified
Commit
fd9a8c36
authored
Jan 28, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add group avatar to group page. Changed default avatar for group
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
a184fcf3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
no_group_avatar.png
app/assets/images/no_group_avatar.png
+0
-0
_groups.html.haml
app/views/dashboard/_groups.html.haml
+1
-1
show.html.haml
app/views/groups/show.html.haml
+7
-3
No files found.
app/assets/images/no_group_avatar.png
View replaced file @
a184fcf3
View file @
fd9a8c36
704 Bytes
|
W:
|
H:
4.77 KB
|
W:
|
H:
2-up
Swipe
Onion skin
app/views/dashboard/_groups.html.haml
View file @
fd9a8c36
...
...
@@ -10,7 +10,7 @@
-
groups
.
each
do
|
group
|
%li
.group-row
=
link_to
group_path
(
id:
group
.
path
),
class:
dom_class
(
group
)
do
=
image_tag
group_icon
(
group
.
path
),
class:
"avatar s
32
"
=
image_tag
group_icon
(
group
.
path
),
class:
"avatar s
24
"
%span
.group-name.filter-title
=
truncate
(
group
.
name
,
length:
35
)
%span
.arrow
...
...
app/views/groups/show.html.haml
View file @
fd9a8c36
...
...
@@ -13,9 +13,13 @@
%p
.nothing_here_message
Project activity will be displayed here
.loading.hide
.side.col-md-4
-
if
@group
.
description
.
present?
.description-block
=
@group
.
description
.light-well.append-bottom-20
=
image_tag
group_icon
(
@group
.
path
),
class:
"avatar s90"
.clearfix.light
%h3
.page-title
=
@group
.
name
-
if
@group
.
description
.
present?
%p
=
@group
.
description
=
render
"projects"
,
projects:
@projects
.prepend-top-20
=
link_to
group_path
(
@group
,
{
format: :atom
,
private_token:
current_user
.
private_token
}),
title:
"Feed"
do
...
...
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