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
ee058727
Commit
ee058727
authored
Mar 15, 2017
by
Xurxo
Committed by
Rémy Coutable
Mar 15, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove whitespace in group links
parent
0ace54e8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
app/views/shared/groups/_group.html.haml
app/views/shared/groups/_group.html.haml
+2
-5
changelogs/unreleased/issue_29449.yml
changelogs/unreleased/issue_29449.yml
+4
-0
No files found.
app/views/shared/groups/_group.html.haml
View file @
ee058727
-
group_member
=
local_assigns
[
:group_member
]
-
group_member
=
local_assigns
[
:group_member
]
-
full_name
=
true
unless
local_assigns
[
:full_name
]
==
false
-
full_name
=
true
unless
local_assigns
[
:full_name
]
==
false
-
group_name
=
full_name
?
group
.
full_name
:
group
.
name
-
css_class
=
''
unless
local_assigns
[
:css_class
]
-
css_class
=
''
unless
local_assigns
[
:css_class
]
-
css_class
+=
" no-description"
if
group
.
description
.
blank?
-
css_class
+=
" no-description"
if
group
.
description
.
blank?
...
@@ -28,11 +29,7 @@
...
@@ -28,11 +29,7 @@
.avatar-container.s40
.avatar-container.s40
=
image_tag
group_icon
(
group
),
class:
"avatar s40 hidden-xs"
=
image_tag
group_icon
(
group
),
class:
"avatar s40 hidden-xs"
.title
.title
=
link_to
group
,
class:
'group-name'
do
=
link_to
group_name
,
group
,
class:
'group-name'
-
if
full_name
=
group
.
full_name
-
else
=
group
.
name
-
if
group_member
-
if
group_member
as
as
...
...
changelogs/unreleased/issue_29449.yml
0 → 100644
View file @
ee058727
---
title
:
Remove whitespace in group links
merge_request
:
9947
author
:
Xurxo Méndez Pérez
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