0.1.24
send msg
This commit is contained in:
@@ -41,11 +41,8 @@ def support_tickets_ajax(request):
|
||||
raise Http404
|
||||
|
||||
if request.user.is_staff:
|
||||
from ChatServiceApp.funcs import get_tickets_for_manager, get_tickets_wo_manager
|
||||
Dict = {
|
||||
'tickets_wo_manager': get_tickets_wo_manager(),
|
||||
'tickets_for_manager': get_tickets_for_manager(request.user),
|
||||
}
|
||||
from ChatServiceApp.funcs import get_ticketsDict_for_staff
|
||||
Dict = get_ticketsDict_for_staff(request.user)
|
||||
tpl_name = 'blocks/profile/b_support_chat.html'
|
||||
else:
|
||||
from ChatServiceApp.models import MsgGroup
|
||||
|
||||
Reference in New Issue
Block a user