mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Added humanize to difficult numbers
This commit is contained in:
@@ -73,6 +73,7 @@ INSTALLED_APPS = (
|
|||||||
'django.contrib.contenttypes',
|
'django.contrib.contenttypes',
|
||||||
'django.contrib.sessions',
|
'django.contrib.sessions',
|
||||||
'django.contrib.sites',
|
'django.contrib.sites',
|
||||||
|
'django.contrib.humanize',
|
||||||
'django_evolution',
|
'django_evolution',
|
||||||
'registration',
|
'registration',
|
||||||
'eve_proxy',
|
'eve_proxy',
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
|
{% load humanize %}
|
||||||
|
|
||||||
{% block title %}View Application{% endblock %}
|
{% block title %}View Application{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
@@ -34,7 +36,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
{% for acc in eveacc %}
|
{% for acc in eveacc %}
|
||||||
{% for char in acc.characters.all %}
|
{% for char in acc.characters.all %}
|
||||||
<li><a href="/profile/characters/{{ char.id }}/">{{ char.name }}</a> - {{ char.corporation }} / {{ char.corporation.alliance }} - {{ char.balance }} ISK, {{ char.total_sp }} SP <button type="button" onclick="CCPEVE.showInfo('1377//{{ char.id }}')">Show In Eve</button></li>
|
<li><a href="/profile/characters/{{ char.id }}/">{{ char.name }}</a> - {{ char.corporation }} / {{ char.corporation.alliance }} - {{ char.balance|intcomma }} ISK, {{ char.total_sp|intcomma }} SP <button type="button" onclick="CCPEVE.showInfo('1377//{{ char.id }}')">Show In Eve</button></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
@@ -42,7 +44,7 @@
|
|||||||
<h3>Reddit Accounts</h3>
|
<h3>Reddit Accounts</h3>
|
||||||
<ul>
|
<ul>
|
||||||
{% for acc in redditacc %}
|
{% for acc in redditacc %}
|
||||||
<li><a href="http://reddit.com/user/{{ acc.username }}/">{{ acc.username }}</a>{% if acc.validated %} - Validated{ %else %} - <b>NOT VALIDATED</b>{% endif %} - {{ acc.date_created }}</li>
|
<li><a href="http://reddit.com/user/{{ acc.username }}/">{{ acc.username }}</a>{% if acc.validated %} - Validated{%else %} - <b>NOT VALIDATED</b>{% endif %} - {{ acc.date_created }}</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
|
{% load humanize %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<h1>{{ character.name }}</h1>
|
<h1>{{ character.name }}</h1>
|
||||||
@@ -10,7 +12,7 @@
|
|||||||
<li>Race: {{ character.race_description }}</li>
|
<li>Race: {{ character.race_description }}</li>
|
||||||
<li>Gender: {{ character.gender_description }}</li>
|
<li>Gender: {{ character.gender_description }}</li>
|
||||||
<li>Corporation: {{ character.corporation.name }}</li>
|
<li>Corporation: {{ character.corporation.name }}</li>
|
||||||
<li>Total SP: {{ character.total_sp }}</li>
|
<li>Total SP: {{ character.total_sp|intcomma }}</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
|
|||||||
Reference in New Issue
Block a user