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
13f170fc
Commit
13f170fc
authored
Oct 25, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved avatar infront of labels
parent
19367b77
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
app/assets/stylesheets/pages/boards.scss
app/assets/stylesheets/pages/boards.scss
+4
-0
app/views/projects/boards/components/_card.html.haml
app/views/projects/boards/components/_card.html.haml
+5
-5
No files found.
app/assets/stylesheets/pages/boards.scss
View file @
13f170fc
...
...
@@ -229,6 +229,10 @@
margin-right
:
5px
;
font-size
:
(
14px
/
$issue-boards-font-size
)
*
1em
;
}
.avatar
{
margin-left
:
0
;
}
}
.card-number
{
...
...
app/views/projects/boards/components/_card.html.haml
View file @
13f170fc
...
...
@@ -21,6 +21,11 @@
%span
.card-number
{
"v-if"
=>
"issue.id"
}
=
precede
'#'
do
{{ issue.id }}
%a
.has-tooltip
{
":href"
=>
"'/' + issue.assignee.username"
,
":title"
=>
"'Assigned to ' + issue.assignee.name"
,
"v-if"
=>
"issue.assignee"
,
data:
{
container:
'body'
}
}
%img
.avatar.avatar-inline.s20
{
":src"
=>
"issue.assignee.avatar"
,
width:
20
,
height:
20
}
%button
.label.color-label.has-tooltip
{
"v-for"
=>
"label in issue.labels"
,
type:
"button"
,
"v-if"
=>
"(!list.label || label.id !== list.label.id)"
,
...
...
@@ -29,8 +34,3 @@
":title"
=>
"label.description"
,
data:
{
container:
'body'
}
}
{{ label.title }}
%a
.has-tooltip
{
":href"
=>
"'/' + issue.assignee.username"
,
":title"
=>
"'Assigned to ' + issue.assignee.name"
,
"v-if"
=>
"issue.assignee"
,
data:
{
container:
'body'
}
}
%img
.avatar.avatar-inline.s20
{
":src"
=>
"issue.assignee.avatar"
,
width:
20
,
height:
20
}
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