diff --git a/hr/models.py b/hr/models.py index 61a7f55..3df7d62 100644 --- a/hr/models.py +++ b/hr/models.py @@ -85,7 +85,7 @@ class Application(models.Model): @property def alt_application(self): - return EVEPlayerCharacters.objects.filter(corporation=self.corporation, eveaccount__user=self.user).count() > 0 + return EVEPlayerCharacter.objects.filter(corporation=self.corporation, eveaccount__user=self.user).count() > 0 def save(self, *args, **kwargs): diff --git a/media/css/style.css b/media/css/style.css index 18ff708..4dbdbb5 100644 --- a/media/css/style.css +++ b/media/css/style.css @@ -110,6 +110,7 @@ border: 1px #fff solid;} table tr { background-color: #CCC; } table tr:nth-child(odd) { background-color: #ddd; } table tr:hover { background-color: #eed; } +table tr#alt-application { background-color: #FFA545; } table th {background-color: #333; diff --git a/templates/hr/applications/admin/view_list.html b/templates/hr/applications/admin/view_list.html index 94afc07..ec94384 100644 --- a/templates/hr/applications/admin/view_list.html +++ b/templates/hr/applications/admin/view_list.html @@ -19,7 +19,7 @@ Last Action Date Last Action User {% for app in apps %} -{{ app.id }} +{{ app.id }} {{ app.character }} {{ app.corporation }} {{ app.get_status_display }} diff --git a/templates/hr/applications/view_list.html b/templates/hr/applications/view_list.html index 697a5c4..d3e8c44 100644 --- a/templates/hr/applications/view_list.html +++ b/templates/hr/applications/view_list.html @@ -6,7 +6,7 @@

This list shows your current open applications

{% if apps %} - + {% for app in apps %}
Application IDCharacterCorporationApplication Status
Application IDCharacterCorporationApplication Status
{{ app.id }} {{ app.character }}