mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 20:40:17 +02:00
Fixed issue with blue showing.
This commit is contained in:
parent
d4f16f49f1
commit
82d15ca36e
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user