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
Boxiang Sun
gitlab-ce
Commits
97fd5026
Commit
97fd5026
authored
Apr 19, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed project & group icons not being clickable
Closes #31073
parent
bbd83376
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
5 deletions
+11
-5
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+4
-0
app/views/shared/groups/_group.html.haml
app/views/shared/groups/_group.html.haml
+2
-1
app/views/shared/projects/_project.html.haml
app/views/shared/projects/_project.html.haml
+5
-4
No files found.
app/assets/stylesheets/pages/projects.scss
View file @
97fd5026
...
@@ -596,6 +596,10 @@ pre.light-well {
...
@@ -596,6 +596,10 @@ pre.light-well {
.avatar-container
{
.avatar-container
{
align-self
:
flex-start
;
align-self
:
flex-start
;
>
a
{
width
:
100%
;
}
}
}
.project-details
{
.project-details
{
...
...
app/views/shared/groups/_group.html.haml
View file @
97fd5026
...
@@ -27,7 +27,8 @@
...
@@ -27,7 +27,8 @@
=
visibility_level_icon
(
group
.
visibility_level
,
fw:
false
)
=
visibility_level_icon
(
group
.
visibility_level
,
fw:
false
)
.avatar-container.s40
.avatar-container.s40
=
image_tag
group_icon
(
group
),
class:
"avatar s40 hidden-xs"
=
link_to
group
do
=
image_tag
group_icon
(
group
),
class:
"avatar s40 hidden-xs"
.title
.title
=
link_to
group_name
,
group
,
class:
'group-name'
=
link_to
group_name
,
group
,
class:
'group-name'
...
...
app/views/shared/projects/_project.html.haml
View file @
97fd5026
...
@@ -12,10 +12,11 @@
...
@@ -12,10 +12,11 @@
=
cache
(
cache_key
)
do
=
cache
(
cache_key
)
do
-
if
avatar
-
if
avatar
.avatar-container.s40
.avatar-container.s40
-
if
use_creator_avatar
=
link_to
project_path
(
project
),
class:
dom_class
(
project
)
do
=
image_tag
avatar_icon
(
project
.
creator
.
email
,
40
),
class:
"avatar s40"
,
alt
:''
-
if
use_creator_avatar
-
else
=
image_tag
avatar_icon
(
project
.
creator
.
email
,
40
),
class:
"avatar s40"
,
alt
:''
=
project_icon
(
project
,
alt:
''
,
class:
'avatar project-avatar s40'
)
-
else
=
project_icon
(
project
,
alt:
''
,
class:
'avatar project-avatar s40'
)
.project-details
.project-details
%h3
.prepend-top-0.append-bottom-0
%h3
.prepend-top-0.append-bottom-0
=
link_to
project_path
(
project
),
class:
dom_class
(
project
)
do
=
link_to
project_path
(
project
),
class:
dom_class
(
project
)
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