Skip to content
Snippets Groups Projects
Commit a805d313 authored by Steven Verbeek's avatar Steven Verbeek
Browse files

Fixed line ending issues on windows.

parent 27244e0c
No related branches found
No related tags found
No related merge requests found
File added
app/assets/images/icon-attachment.png

406 B

Loading
Loading
@@ -40,7 +40,6 @@ init:
$("#note_attachment").change(function(e){
var val = $('.input-file').val();
var filename = val.replace(/^.*[\\\/]/, '');
console.log(filename,val);
$(".file_name").text(filename);
});
 
Loading
Loading
Loading
Loading
@@ -1117,6 +1117,20 @@ p.time {
.file_name {
line-height:30px;
width:240px;
height:28px;
overflow:hidden;
}
}
// Fix issue with notes & lists creating a bunch of bottom borders.
li.note {
.note-title {
li {
border-bottom:none !important;
}
.file {
padding-left:20px;
background:url("icon-attachment.png") no-repeat left center;
}
}
}
\ No newline at end of file
Loading
Loading
@@ -12,6 +12,6 @@
= markdown(note.note)
- if note.attachment.url
.right
%span.file
= link_to note.attachment_identifier, note.attachment.url, :target => "_blank"
%div.file
= link_to note.attachment_identifier, note.attachment.url, :target => "_blank"
.clear
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment