mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-09 08:36:23 +01:00
Removed all dependency on alliance membership
Renamed permission 'alliance_member' 'member' Renamed multiple variables in settings.py and associated handlers in util Maybe it still works?
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
<div class="navbar-header ">
|
||||
<a class="navbar-brand ">
|
||||
<div class="fa fa-cog fa-spin"></div>
|
||||
{{ ALLIANCE_NAME }}
|
||||
{{ CORP_NAME }}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
class="fa fa-users fa-fw grayiconecolor"></i> Characters</a>
|
||||
</li>
|
||||
|
||||
{% if perms.auth.alliance_member %}
|
||||
{% if perms.auth.member %}
|
||||
<li>
|
||||
<a {% ifequal request.path "/groups/" %} class="active" {% endifequal %}
|
||||
href="{% url 'auth_groups' %}"><i
|
||||
@@ -94,7 +94,7 @@
|
||||
<li class="text-center divider-horizontal">
|
||||
<h5>Aux Navigation</h5>
|
||||
</li>
|
||||
{% if perms.auth.alliance_member or perms.auth.blue_member %}
|
||||
{% if perms.auth.member or perms.auth.blue_member %}
|
||||
<li>
|
||||
<a {% ifequal request.path "/services/" %} class="active" {% endifequal %}
|
||||
href="{% url 'auth_services' %}"><i
|
||||
@@ -102,7 +102,7 @@
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
{% if not perms.auth.alliance_member and not perms.auth.blue_member or perms.auth.human_resources %}
|
||||
{% if not perms.auth.member and not perms.auth.blue_member or perms.auth.human_resources %}
|
||||
<li>
|
||||
<a {% ifequal request.path "/hr_application_management/" %}
|
||||
class="active" {% endifequal %}
|
||||
@@ -127,7 +127,7 @@
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
{% if perms.auth.alliance_member or perms.auth.blue_member %}
|
||||
{% if perms.auth.member or perms.auth.blue_member %}
|
||||
<li>
|
||||
<a {% ifequal request.path "/fits" %} class="active" {% endifequal %}
|
||||
href="{% url 'auth_fleet_fits' %}"><i
|
||||
@@ -158,7 +158,7 @@
|
||||
class="fa fa-lock fa-fw grayiconecolor"></i>Change Password</a>
|
||||
</li>
|
||||
|
||||
{% if perms.auth.alliance_member or perms.auth.blue_member %}
|
||||
{% if perms.auth.member or perms.auth.blue_member %}
|
||||
<li>
|
||||
<a {% ifequal request.path "/tool/fleet_formatter_tool/" %}
|
||||
class="active" {% endifequal %}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
|
||||
<title>{{ ALLIANCE_NAME }} - Login</title>
|
||||
<title>{{ CORP_NAME }} - Login</title>
|
||||
|
||||
<!-- Bootstrap Core CSS -->
|
||||
<link href="{% static 'css/bootstrap.min.css' %}" rel="stylesheet">
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
|
||||
<title>{{ ALLIANCE_NAME }} - Login</title>
|
||||
<title>{{ CORP_NAME }} - Login</title>
|
||||
|
||||
<!-- Bootstrap Core CSS -->
|
||||
<link href="{% static 'css/bootstrap.min.css' %}" rel="stylesheet">
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
<div class="col-lg-12">
|
||||
<h1 class="page-header text-center">Corporation Stats</h1>
|
||||
{% if perms.auth.alliance_member %}
|
||||
{% if perms.auth.member %}
|
||||
<div class="col-lg-12 container" id="example">
|
||||
|
||||
<div class="row">
|
||||
@@ -67,7 +67,7 @@
|
||||
</div>
|
||||
</div>
|
||||
{% else %}
|
||||
<p> Not part of the alliance</p>
|
||||
<p> Not part of the corporation</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endblock content %}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
<div class="col-lg-12">
|
||||
<h1 class="page-header text-center">Dashboard</h1>
|
||||
{% if perms.auth.alliance_member %}
|
||||
{% if perms.auth.member %}
|
||||
<div class="col-lg-12 container" id="example">
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
</div>
|
||||
</div>
|
||||
{% else %}
|
||||
<p> Not part of the alliance</p>
|
||||
<p> Not part of the corporation</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endblock content %}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
{% block content %}
|
||||
<div class="col-lg-12">
|
||||
<h1 class="page-header text-center">Available Groups</h1>
|
||||
{% if perms.auth.alliance_member %}
|
||||
{% if perms.auth.member %}
|
||||
<table class="table table-bordered">
|
||||
<tr>
|
||||
<th class="text-center">GroupID</th>
|
||||
@@ -52,7 +52,7 @@
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% else %}
|
||||
<div class="alert alert-danger" role="alert">You are not in the alliance</div>
|
||||
<div class="alert alert-danger" role="alert">You are not in the corporation</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
{% block content %}
|
||||
<div class="col-lg-12">
|
||||
{% if not perms.auth.alliance_member %}
|
||||
{% if not perms.auth.member %}
|
||||
<h1 class="page-header text-center">Personal Applications
|
||||
<div class="text-right">
|
||||
<a href="{% url 'auth_hrapplication_create_view' %}">
|
||||
|
||||
@@ -153,7 +153,7 @@
|
||||
</tr>
|
||||
{% endif %}
|
||||
</table>
|
||||
{% elif perms.auth.alliance_member %}
|
||||
{% elif perms.auth.member %}
|
||||
<table class="table table-bordered">
|
||||
<tr>
|
||||
<th class="text-center">Service</th>
|
||||
@@ -162,7 +162,7 @@
|
||||
<th class="text-center">Domain</th>
|
||||
<th class="text-center">Action</th>
|
||||
</tr>
|
||||
{% if ENABLE_ALLIANCE_FORUM %}
|
||||
{% if ENABLE_AUTH_FORUM %}
|
||||
<tr>
|
||||
<td class="text-center">Forums</td>
|
||||
<td class="text-center">{{ authinfo.forum_username }}</td>
|
||||
@@ -187,7 +187,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if ENABLE_ALLIANCE_IPBOARD %}
|
||||
{% if ENABLE_AUTH_IPBOARD %}
|
||||
<td class="text-center">IPBoard Forums</td>
|
||||
<td class="text-center">{{ authinfo.ipboard_username }}</td>
|
||||
<td class="text-center">{{ authinfo.ipboard_password }}</td>
|
||||
@@ -210,7 +210,7 @@
|
||||
{% endifequal %}
|
||||
</td>
|
||||
{% endif %}
|
||||
{% if ENABLE_ALLIANCE_JABBER %}
|
||||
{% if ENABLE_AUTH_JABBER %}
|
||||
<tr>
|
||||
<td class="text-center">Jabber</td>
|
||||
<td class="text-center">{{ authinfo.jabber_username }}</td>
|
||||
@@ -235,7 +235,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if ENABLE_ALLIANCE_MUMBLE %}
|
||||
{% if ENABLE_AUTH_MUMBLE %}
|
||||
<tr>
|
||||
<td class="text-center">Mumble</td>
|
||||
<td class="text-center">{{ authinfo.mumble_username }}</td>
|
||||
@@ -260,7 +260,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if ENABLE_ALLIANCE_TEAMSPEAK3 %}
|
||||
{% if ENABLE_AUTH_TEAMSPEAK3 %}
|
||||
<tr>
|
||||
<th class="text-center">Service</th>
|
||||
<th class="text-center">Unique ID</th>
|
||||
@@ -300,7 +300,7 @@
|
||||
{% endif %}
|
||||
</table>
|
||||
{% else %}
|
||||
<div class="alert alert-danger" role="alert">You are not in the alliance</div>
|
||||
<div class="alert alert-danger" role="alert">You are not in the corporation</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
|
||||
<title>{{ ALLIANCE_NAME }} - Login</title>
|
||||
<title>{{ CORP_NAME }} - Login</title>
|
||||
|
||||
<!-- Bootstrap Core CSS -->
|
||||
<link href="{% static 'css/bootstrap.min.css' %}" rel="stylesheet">
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
|
||||
<title>{{ ALLIANCE_NAME }} - Login</title>
|
||||
<title>{{ CORP_NAME }} - Login</title>
|
||||
|
||||
<!-- Bootstrap Core CSS -->
|
||||
<link href="{% static 'css/bootstrap.min.css' %}" rel="stylesheet">
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
|
||||
<title>{{ ALLIANCE_NAME }} - Login</title>
|
||||
<title>{{ CORP_NAME }} - Login</title>
|
||||
|
||||
<!-- Bootstrap Core CSS -->
|
||||
<link href="{% static 'css/bootstrap.min.css' %}" rel="stylesheet">
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
|
||||
{% trans "Please go to the following page and choose a new password:" %}
|
||||
{% block reset_link %}
|
||||
https://the99eve.com{% url 'password_reset_confirm' uidb64=uid token=token %}
|
||||
https://someurl.com{% url 'password_reset_confirm' uidb64=uid token=token %}
|
||||
{% endblock %}
|
||||
{% trans "Your username, in case you've forgotten:" %} {{ user.get_username }}
|
||||
|
||||
{% trans "Thanks for using our site!" %}
|
||||
|
||||
{% blocktrans %}The The 99 Percent team{% endblocktrans %}
|
||||
{% blocktrans %}Your Corporation{% endblocktrans %}
|
||||
|
||||
{% endautoescape %}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
|
||||
<title>{{ ALLIANCE_NAME }} - Login</title>
|
||||
<title>{{ CORP_NAME }} - Login</title>
|
||||
|
||||
<!-- Bootstrap Core CSS -->
|
||||
<link href="{% static 'css/bootstrap.min.css' %}" rel="stylesheet">
|
||||
|
||||
Reference in New Issue
Block a user