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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
737b134c
Commit
737b134c
authored
Aug 09, 2019
by
Tom Quirk
Committed by
Kushal Pandya
Aug 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
resolve review comments:
- use .mx-auto for avatar - remove parent div for group_icon
parent
bbf639c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
app/views/projects/forks/_fork_button.html.haml
app/views/projects/forks/_fork_button.html.haml
+4
-4
No files found.
app/views/projects/forks/_fork_button.html.haml
View file @
737b134c
...
...
@@ -5,9 +5,9 @@
.bordered-box.fork-thumbnail.text-center.prepend-left-default.append-right-default.prepend-top-default.append-bottom-default.forked
=
link_to
project_path
(
forked_project
)
do
-
if
/no_((\w*)_)*avatar/
.
match
(
avatar
)
=
group_icon
(
namespace
,
class:
"avatar rect-avatar s100 identicon"
)
=
group_icon
(
namespace
,
class:
"avatar rect-avatar s100 identicon
mx-auto
"
)
-
else
.avatar-container.s100
.avatar-container.s100
.mx-auto
=
image_tag
(
avatar
,
class:
"avatar s100"
)
%h5
.prepend-top-default
=
namespace
.
human_name
...
...
@@ -18,9 +18,9 @@
class:
(
"disabled has-tooltip"
unless
can_create_project
),
title:
(
_
(
'You have reached your project limit'
)
unless
can_create_project
)
do
-
if
/no_((\w*)_)*avatar/
.
match
(
avatar
)
=
group_icon
(
namespace
,
class:
"avatar rect-avatar s100 identicon"
)
=
group_icon
(
namespace
,
class:
"avatar rect-avatar s100 identicon
mx-auto
"
)
-
else
.avatar-container.s100
.avatar-container.s100
.mx-auto
=
image_tag
(
avatar
,
class:
"avatar s100"
)
%h5
.prepend-top-default
=
namespace
.
human_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