Skip to content
Snippets Groups Projects
Commit 6a23fcce authored by Peter Rotich's avatar Peter Rotich
Browse files

Add inline notes support

parent 7d38244f
No related branches found
No related tags found
No related merge requests found
......@@ -689,41 +689,6 @@ h2 .reload {
background:url(../images/icons/note.gif) 10px 50% no-repeat;
}
#latest_notes {
margin:10px 0;
padding:10px;
background:#ffe;
border:1px solid #e7e765;
}
#latest_notes h3 {
margin:0 0 10px 0;
padding:0;
font-size:11pt;
}
#latest_notes h3 span, #latest_notes h3 a {
color:#777;
font-weight:normal;
text-decoration:none;
font-size:10pt;
}
#latest_notes ul {
margin:0 20px;
padding:0;
}
#latest_notes ul li {
margin:0;
padding:0 0 10px 0;
list-style:none;
}
#latest_notes em {
color:#777;
}
#ticket_thread table {
margin-top:10px;
border:1px solid #aaa;
......@@ -757,21 +722,40 @@ h2 .reload {
color:#666;
}
#ticket_thread .message th {
background:#C3D9FF;
#ticket_notes .date {
font-weight:normal;
font-size:10pt;
color:#888;
text-align:right;
}
#ticket_notes .date {
#ticket_thread table th.tmeta {
font-weight:normal;
font-size:10pt;
color:#888;
text-align:right;
padding-right:15px;
}
#ticket_thread table th span {
font-weight:normal;
font-size:10pt;
color:#888;
padding-left:15px;
}
#ticket_thread .message th {
background:#C3D9FF;
}
#ticket_thread .response th {
background:#FFE0B3;
}
#ticket_thread .note th {
background:#FFE;
}
#ticket_thread table td, #ticket_notes table td {
padding:5px;
}
......
......@@ -264,7 +264,7 @@ jQuery(function($) {
if(location.hash != "" && $('#response_options '+location.hash).length) {
$('#response_options '+location.hash+'_tab').addClass('active');
$('#response_options '+location.hash).show();
} else if(location.hash == "#notes") {
} else if(location.hash == "#notes" && $('#ticket_notes').length) {
$('#response_options #note_tab').addClass('active');
$('#response_options form').hide();
$('#response_options #note').show();
......
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