mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-04 06:06:19 +01:00
Fixed issue with blue showing.
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
from django.template import RequestContext
|
from django.template import RequestContext
|
||||||
from django.shortcuts import HttpResponseRedirect
|
from django.shortcuts import HttpResponseRedirect
|
||||||
from django.shortcuts import render_to_response
|
from django.shortcuts import render_to_response
|
||||||
|
from django.conf import settings
|
||||||
from django.contrib.auth.decorators import login_required
|
from django.contrib.auth.decorators import login_required
|
||||||
from django.contrib.auth.decorators import permission_required
|
from django.contrib.auth.decorators import permission_required
|
||||||
from django.contrib.auth.models import Group
|
from django.contrib.auth.models import Group
|
||||||
@@ -95,7 +96,9 @@ def groups_view(request):
|
|||||||
# Check if group is a corp
|
# Check if group is a corp
|
||||||
if "Corp" in group.name:
|
if "Corp" in group.name:
|
||||||
pass
|
pass
|
||||||
elif "AllianceMember" in group.name:
|
elif settings.DEFAULT_ALLIANCE_GROUP in group.name:
|
||||||
|
pass
|
||||||
|
elif settings.DEFAULT_BLUE_GROUP in group.name:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
# Get the descriptionn
|
# Get the descriptionn
|
||||||
|
|||||||
Reference in New Issue
Block a user