mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-06 23:26:19 +01:00
Users without a selected main character is not a problem anymore. Main will be listed as "User: [username]" and will be highlighted. Also added a row showing corp of main character.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
{% extends "public/base.html" %}
|
||||
{% load bootstrap %}
|
||||
{% load corputils_extras %}
|
||||
|
||||
{% block title %}Alliance Auth{% endblock %}
|
||||
{% block page_title %}Corporation Member Tracking{% endblock page_title %}
|
||||
@@ -54,24 +53,31 @@
|
||||
<table class="table table-condensed">
|
||||
<tr>
|
||||
<th class="text-center">Main character</th>
|
||||
<th class="text-center">Main corporation</th>
|
||||
<th class="text-center">Character list</th>
|
||||
</tr>
|
||||
{% for main, alts in characters_with_api %}
|
||||
<tr>
|
||||
{% for mainchar, player in characters_with_api %}
|
||||
<tr >
|
||||
<td class="text-center">
|
||||
<p class="">{{ main }}</p>
|
||||
<p class="">{{ mainchar }}</p>
|
||||
</td>
|
||||
<td class="text-center" {% if not corp.corporation_name == player.maincorp%} bgcolor="#FF99AA" {% endif %} >
|
||||
<p class="">{{ player.maincorp }}</p>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
{% for name in alts %}
|
||||
<p class="">{{ name}}</p>
|
||||
{% for charname in player.altlist %}
|
||||
<p class="">{{ charname }}</p>
|
||||
{% endfor %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
{% for main, value in characters_without_api %}
|
||||
<tr bgcolor="#DD5500">
|
||||
{% for charname in characters_without_api %}
|
||||
<tr bgcolor="#DD8822">
|
||||
<td class="text-center">
|
||||
<p class="">{{ main }}</p>
|
||||
<p class="">{{ charname }}</p>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<p class=""></p>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<p class="">No API registered!</p>
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{% extends "public/base.html" %}
|
||||
{% load bootstrap %}
|
||||
{% load staticfiles %}
|
||||
{% load corputils_extras %}
|
||||
|
||||
{% block title %}Alliance Auth{% endblock %}
|
||||
|
||||
@@ -10,7 +9,7 @@
|
||||
|
||||
{% block content %}
|
||||
<div class="col-lg-12">
|
||||
{% if perms.auth.corp_stats %}
|
||||
{% if perms.auth.corputils %}
|
||||
<h1 class="page-header text-center">Member Search Results
|
||||
<div class="text-right">
|
||||
<!-- Button trigger modal -->
|
||||
@@ -42,7 +41,7 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% if perms.auth.corp_stats %}
|
||||
{% if perms.auth.corputils %}
|
||||
<!-- Modal -->
|
||||
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
|
||||
aria-hidden="true">
|
||||
|
||||
Reference in New Issue
Block a user