From b0114ba392b4bb9cf6a6c25b16e38589d9efa724 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Mon, 23 Jun 2014 12:20:03 +0200 Subject: [PATCH] Tweaks and fixes for listing --- .../templates/applications/index.html | 20 +++++++++++------- .../application/templates/layout.html | 21 ++++++++----------- .../templates/security/login_user.html | 2 +- 3 files changed, 23 insertions(+), 20 deletions(-) diff --git a/blender-bfct/application/templates/applications/index.html b/blender-bfct/application/templates/applications/index.html index 403a88a..b6ae9b4 100755 --- a/blender-bfct/application/templates/applications/index.html +++ b/blender-bfct/application/templates/applications/index.html @@ -12,22 +12,21 @@ Submission Date Status Approvals + {% for application in applications %} - - {{ loop.index }} - -
-
- - + + {{ loop.index }} + {{application.user.first_name}} {{application.user.last_name}} + {{application.city_country}} {{application.submission_date.strftime('%d %B, %Y')}} + {% if application.status == 'under_review' %} Under Review {% elif application.status == 'submitted' %} @@ -39,12 +38,18 @@ {% else %} {{application.status}} {% endif %} + {{application.approve}} / {{application.approve + application.reject}} + + + View + + {% if loop.last %} @@ -56,5 +61,6 @@ {% endfor %} +
{% endblock %} diff --git a/blender-bfct/application/templates/layout.html b/blender-bfct/application/templates/layout.html index a20b2b6..c81e8ad 100644 --- a/blender-bfct/application/templates/layout.html +++ b/blender-bfct/application/templates/layout.html @@ -42,16 +42,16 @@ Toggle navigation - + @@ -79,11 +79,8 @@