initial commit
This commit is contained in:
commit
186a860385
8199 changed files with 1159811 additions and 0 deletions
16
themes/MasterControlProgram/modules/tickets/tickets.js
Normal file
16
themes/MasterControlProgram/modules/tickets/tickets.js
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
$(document).ready(function() {
|
||||
$('[href="?m=tickets&p=submitticket"]').addClass('btn').addClass('btn-primary').addClass('btn-sm');
|
||||
$('.no_tickets').removeClass('no_tickets').addClass('alert').addClass('alert-danger');
|
||||
|
||||
$('.ticket_admin_response > td:nth-child(2)').each(function(){
|
||||
$(this).replaceWith('<td><span class="label label-warning label-size">'+$(this).html()+'</span></td>');
|
||||
});
|
||||
$('.ticket_customer_response > td:nth-child(2)').each(function(){
|
||||
$(this).replaceWith('<td><span class="label label-info label-size">'+$(this).html()+'</span></td>');
|
||||
});
|
||||
$('.ticket_closed > td:nth-child(2)').each(function(){
|
||||
$(this).replaceWith('<td><span class="label label-danger label-size">'+$(this).html()+'</span></td>');
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue