Design organization list page and add organization search

This commit is contained in:
anhkha2003 2024-06-18 17:39:32 -05:00
parent 02ba30a29e
commit 4acc17ceb5
20 changed files with 553 additions and 286 deletions

View file

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block media %}
<style>
#ticket-list .fa-check-circle-o {
#ticket-list .fa-check-circle {
color: #00a900;
}
@ -131,10 +131,10 @@
if ($row.length) {
var $status = $row.find('td').first().find('i');
if (ticket.open) {
$status.removeClass('fa-check-circle-o').addClass('fa-exclamation-circle');
$status.removeClass('fa-check-circle').addClass('fa-exclamation-circle');
notify('ticket', '{{ _('Reopened: ') }}' + ticket.title);
} else {
$status.removeClass('fa-exclamation-circle').addClass('fa-check-circle-o');
$status.removeClass('fa-exclamation-circle').addClass('fa-check-circle');
notify('ticket', '{{ _('Closed: ') }}' + ticket.title);
}
}