mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Show SP on the charlist
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% load humanize %}
|
||||
{% block content %}
|
||||
|
||||
<h1>Character List</h1>
|
||||
@@ -9,13 +9,14 @@
|
||||
{% regroup characters by account as acc_list %}
|
||||
|
||||
<table>
|
||||
<tr><th>Character Name</th><th>Corporation</th><th>Alliance</th><th>Training</th></tr>
|
||||
<tr><th>Character Name</th><th>Corporation</th><th>Alliance</th><th>Skillpoints</th><th>Training</th></tr>
|
||||
{% for acc in acc_list %}
|
||||
<tr><th colspan=4>Account {{ acc.grouper }}</th></tr>
|
||||
<tr><th colspan=5>Account {{ acc.grouper }}</th></tr>
|
||||
{% for char in acc.list %}
|
||||
<tr><td><a href="{% url eveapi-character char.id %}">{{ char.name }}</a></td>
|
||||
<td><a href="{% url eveapi-corporation char.corporation.id %}">{{ char.corporation }}</a></td>
|
||||
<td>{% if char.corporation.alliance %}{{ char.corporation.alliance }}{% endif %}</td>
|
||||
<td>{{ char.total_sp|intcomma }} SP</td>
|
||||
<td>{% if char.current_training %}{{ char.current_training.skill.name }} to Level {{ char.current_training.in_training }}{% endif %}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user