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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
f1d74ccc
Commit
f1d74ccc
authored
May 30, 2016
by
Fatih Acet
Committed by
Z.J. van de Weg
Jun 06, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some design related tweaks.
parent
47fc235f
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
7 deletions
+24
-7
app/assets/javascripts/awards_handler.coffee
app/assets/javascripts/awards_handler.coffee
+1
-1
app/assets/stylesheets/framework/timeline.scss
app/assets/stylesheets/framework/timeline.scss
+1
-1
app/assets/stylesheets/pages/awards.scss
app/assets/stylesheets/pages/awards.scss
+1
-0
app/assets/stylesheets/pages/notes.scss
app/assets/stylesheets/pages/notes.scss
+16
-0
app/views/projects/issues/show.html.haml
app/views/projects/issues/show.html.haml
+3
-3
app/views/projects/notes/_note.html.haml
app/views/projects/notes/_note.html.haml
+2
-2
No files found.
app/assets/javascripts/awards_handler.coffee
View file @
f1d74ccc
...
@@ -39,7 +39,7 @@ class @AwardsHandler
...
@@ -39,7 +39,7 @@ class @AwardsHandler
$menu
=
$
'.emoji-menu'
$menu
=
$
'.emoji-menu'
if
$addBtn
.
hasClass
'
note-emoji-button
'
if
$addBtn
.
hasClass
'
js-note-emoji
'
$addBtn
.
parents
(
'.note'
).
find
(
'.js-awards-block'
).
addClass
'current'
$addBtn
.
parents
(
'.note'
).
find
(
'.js-awards-block'
).
addClass
'current'
else
else
$addBtn
.
closest
(
'.js-awards-block'
).
addClass
'current'
$addBtn
.
closest
(
'.js-awards-block'
).
addClass
'current'
...
...
app/assets/stylesheets/framework/timeline.scss
View file @
f1d74ccc
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
padding
:
0
;
padding
:
0
;
.timeline-entry
{
.timeline-entry
{
padding
:
$gl-padding
$gl-btn-padding
;
padding
:
$gl-padding
$gl-btn-padding
11px
$gl-btn-padding
;
border-color
:
$table-border-color
;
border-color
:
$table-border-color
;
color
:
$gl-gray
;
color
:
$gl-gray
;
border-bottom
:
1px
solid
$border-white-light
;
border-bottom
:
1px
solid
$border-white-light
;
...
...
app/assets/stylesheets/pages/awards.scss
View file @
f1d74ccc
...
@@ -95,6 +95,7 @@
...
@@ -95,6 +95,7 @@
.award-control
{
.award-control
{
margin-right
:
5px
;
margin-right
:
5px
;
margin-bottom
:
5px
;
padding-left
:
5px
;
padding-left
:
5px
;
padding-right
:
5px
;
padding-right
:
5px
;
line-height
:
20px
;
line-height
:
20px
;
...
...
app/assets/stylesheets/pages/notes.scss
View file @
f1d74ccc
...
@@ -69,6 +69,10 @@ ul.notes {
...
@@ -69,6 +69,10 @@ ul.notes {
.note-edit-form
{
.note-edit-form
{
display
:
block
;
display
:
block
;
&
.current-note-edit-form
+
.note-awards
{
display
:
none
;
}
}
}
}
}
...
@@ -116,6 +120,18 @@ ul.notes {
...
@@ -116,6 +120,18 @@ ul.notes {
}
}
}
}
.note-awards
{
.js-awards-block
{
padding
:
2px
0
;
margin-top
:
10px
;
}
.award-control
{
font-size
:
13px
;
padding
:
2px
5px
;
}
}
.note-header
{
.note-header
{
padding-bottom
:
3px
;
padding-bottom
:
3px
;
}
}
...
...
app/views/projects/issues/show.html.haml
View file @
f1d74ccc
app/views/projects/notes/_note.html.haml
View file @
f1d74ccc
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
%span
.note-role
%span
.note-role
=
access
=
access
-
if
note_editable
-
if
note_editable
=
link_to
'#'
,
title:
'Award Emoji'
,
class:
'note-emoji-button js-add-award js-note-emoji'
,
data:
{
position:
'right'
}
do
=
link_to
'#'
,
title:
'Award Emoji'
,
class:
'note-
action-button note-
emoji-button js-add-award js-note-emoji'
,
data:
{
position:
'right'
}
do
=
icon
(
'spinner spin'
)
=
icon
(
'spinner spin'
)
=
icon
(
'smile-o'
)
=
icon
(
'smile-o'
)
=
link_to
'#'
,
title:
'Edit comment'
,
class:
'note-action-button js-note-edit'
do
=
link_to
'#'
,
title:
'Edit comment'
,
class:
'note-action-button js-note-edit'
do
...
@@ -33,11 +33,11 @@
...
@@ -33,11 +33,11 @@
.note-text
.note-text
=
preserve
do
=
preserve
do
=
markdown
(
note
.
note
,
pipeline: :note
,
cache_key:
[
note
,
"note"
],
author:
note
.
author
)
=
markdown
(
note
.
note
,
pipeline: :note
,
cache_key:
[
note
,
"note"
],
author:
note
.
author
)
=
edited_time_ago_with_tooltip
(
note
,
placement:
'bottom'
,
html_class:
'note_edited_ago'
,
include_author:
true
)
-
if
note_editable
-
if
note_editable
=
render
'projects/notes/edit_form'
,
note:
note
=
render
'projects/notes/edit_form'
,
note:
note
.note-awards
.note-awards
=
render
'award_emoji/awards_block'
,
awardable:
note
,
inline:
false
=
render
'award_emoji/awards_block'
,
awardable:
note
,
inline:
false
=
edited_time_ago_with_tooltip
(
note
,
placement:
'bottom'
,
html_class:
'note_edited_ago'
,
include_author:
true
)
-
if
note
.
attachment
.
url
-
if
note
.
attachment
.
url
.note-attachment
.note-attachment
...
...
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