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
Kazuhiko Shiozaki
gitlab-ce
Commits
fbd345ea
Commit
fbd345ea
authored
Nov 22, 2012
by
Riyad Preukschas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make attachments more obvious
parent
c4a7824a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
7 deletions
+20
-7
app/assets/stylesheets/sections/notes.scss
app/assets/stylesheets/sections/notes.scss
+15
-3
app/views/notes/_note.html.haml
app/views/notes/_note.html.haml
+5
-4
No files found.
app/assets/stylesheets/sections/notes.scss
View file @
fbd345ea
...
...
@@ -76,10 +76,22 @@ ul.notes {
p
{
color
:
$style_color
;
}
.avatar
{
margin-top
:
3px
;
margin-top
:
3px
;
}
.attachment
{
font-size
:
16px
;
margin-top
:
-20px
;
.icon-attachment
{
@extend
.icon-paper-clip
;
font-size
:
24px
;
position
:
relative
;
text-align
:
right
;
top
:
6px
;
}
}
.note-body
{
margin-left
:
45px
;
margin-left
:
45px
;
padding-top
:
5px
;
}
.note-header
{
...
...
@@ -187,7 +199,7 @@ p.notify_controls span{
// TODO: end cleaup
/**
*
add
line note button on the side of diffs
* line note button on the side of diffs
*/
.diff_file
tr
.line_holder
{
.add-diff-note
{
...
...
app/views/notes/_note.html.haml
View file @
fbd345ea
...
...
@@ -28,7 +28,8 @@
=
preserve
do
=
markdown
(
note
.
note
)
-
if
note
.
attachment
.
url
.right
%div
.file
=
link_to
note
.
attachment_identifier
,
note
.
attachment
.
url
,
target:
"_blank"
.attachment.right
=
link_to
note
.
attachment
.
url
,
target:
"_blank"
do
%i
.icon-attachment
=
note
.
attachment_identifier
.clear
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