diff --git a/hr/views.py b/hr/views.py index b68f62c..6770de5 100644 --- a/hr/views.py +++ b/hr/views.py @@ -175,7 +175,7 @@ def admin_applications(request): if 'o' in request.GET: order = request.GET['o'] - if order in ['id', 'corporation', 'name']: + if order in ['id', 'corporation', 'character']: apps = apps.order_by(order) if 'l' in request.GET: diff --git a/templates/hr/applications/view.html b/templates/hr/applications/view.html index 65181f7..2905f5a 100644 --- a/templates/hr/applications/view.html +++ b/templates/hr/applications/view.html @@ -13,7 +13,7 @@
  • Applying Auth User: {{ app.user }}
  • Applying Character: {{ app.character }}
  • Application Status: {{ app.get_status_display }}
  • -
  • Blacklist Status: {% if app.blacklisted %}BLACKLISTED{% else %}OK{% endif %}
  • +
  • Blacklist Status: {% if app.blacklisted %}BLACKLISTED{% else %}OK{% endif %}
  • {% ifnotequal app.status 5 %} @@ -87,9 +87,9 @@ {{ char.corporation }}{% if char.corporation.alliance %} / {{ char.corporation.alliance }}{% endif %} - {{ char.balance|intcomma }} ISK - {{ char.total_sp|intcomma }} SP - / EveGate Profile / EveSearch + {{ char.balance|intcomma }} ISK + {{ char.total_sp|intcomma }} SP + / EveGate Profile / EveSearch {% endfor %} {% endfor %}