From b1b366073917574ae2a48a9e1d218853b5381b4b Mon Sep 17 00:00:00 2001 From: Andrew Hayward Date: Fri, 7 Jun 2013 15:24:58 +0100 Subject: [PATCH] Tidying up dashboard application page --- views/user/dashboard-application.html | 44 +++++++++++++++------------ 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/views/user/dashboard-application.html b/views/user/dashboard-application.html index 994ab30..5b5ddf1 100644 --- a/views/user/dashboard-application.html +++ b/views/user/dashboard-application.html @@ -40,27 +40,33 @@
- {% block notes %} - {% endblock %}
- {% if application.description %} -
{{ application.description }}
+
+						{%- if application.description -%}
+							{{ application.description }}
+						{%- else -%}
+							No description available for this application.
+						{%- endif -%}
+					
+ {% if application.evidence.length %} +
    + {% for item in application.evidence %} +
  • + {% if item.saved %} + + + + {% else %} + + + + {% endif %} +
  • + {% endfor %} +
+ {% else %} +

No evidence added to this application.

{% endif %} -