changeset 21:9a45dfaec157

To by było, miejmy nadzieję, na tyle w kwestii szablonu CSV
author Michał Rudowicz <michal.rudowicz@fl9.eu>
date Mon, 11 Apr 2011 09:50:23 +0200
parents 1e82b288c890
children 9916d46ff096 b75a9ae3a060
files frontend/mfrontend/templates/joblist.csv
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/frontend/mfrontend/templates/joblist.csv	Mon Apr 11 09:39:54 2011 +0200
+++ b/frontend/mfrontend/templates/joblist.csv	Mon Apr 11 09:50:23 2011 +0200
@@ -1,3 +1,7 @@
 {% for job in jobs %}
+{% if job is sameas None %}
+0
+{% else %}
 1;{{job.method}};{{job.hash}};LISTA_ZNAKOW;{{job.last_checked}};{{job.min_pass_len}};{{job.max_pass_len}};{{job.id}};40{#pierwsze - zero, gdy nie ma zadania, jeden, gdy jest ostatnie - rozmiar podzadania#}
+{% endif %}
 {% endfor %}