mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Show flagged applications
This commit is contained in:
@@ -162,7 +162,7 @@ def add_recommendation(request):
|
|||||||
def admin_applications(request):
|
def admin_applications(request):
|
||||||
# Get the list of viewable applications by the admin
|
# Get the list of viewable applications by the admin
|
||||||
corplist = EVEPlayerCharacter.objects.filter(eveaccount__user=request.user).values_list('corporation', flat=True)
|
corplist = EVEPlayerCharacter.objects.filter(eveaccount__user=request.user).values_list('corporation', flat=True)
|
||||||
view_status = [APPLICATION_STATUS_AWAITINGREVIEW, APPLICATION_STATUS_ACCEPTED, APPLICATION_STATUS_QUERY]
|
view_status = [APPLICATION_STATUS_AWAITINGREVIEW, APPLICATION_STATUS_ACCEPTED, APPLICATION_STATUS_QUERY, APPLICATION_STATUS_FLAGGED]
|
||||||
|
|
||||||
if request.user.has_perm('hr.can_view_all'):
|
if request.user.has_perm('hr.can_view_all'):
|
||||||
apps = Application.objects.all()
|
apps = Application.objects.all()
|
||||||
|
|||||||
Reference in New Issue
Block a user