From a69b60aaa9a20d9e30d272df5686dda04ab80303 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Fri, 2 Sep 2011 11:44:25 +0100 Subject: [PATCH] Added employment history to the character sheet --- app/eve_api/templates/eve_api/character.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/app/eve_api/templates/eve_api/character.html b/app/eve_api/templates/eve_api/character.html index ba92954..2a8cfdb 100644 --- a/app/eve_api/templates/eve_api/character.html +++ b/app/eve_api/templates/eve_api/character.html @@ -79,6 +79,20 @@ Total SP{{ character.total_sp|intcomma }} SP + + {% if character.employmenthistory.count %} +
+

Employment History

+ + + + {% for hist in character.employmenthistory.all %} + + {% endfor %} +
CorporationJoin DateLeave Date
{{ hist.corporation.name }}{{ hist.start_date }}{% if hist.end_date %}{{ hist.end_date }}{% endif %}
+
+ {% endif %} +