From f03855f2de7936be2ebe4108836b99e30096947d Mon Sep 17 00:00:00 2001 From: Andromeda Yelton Date: Tue, 18 Sep 2012 11:10:01 -0400 Subject: [PATCH 1/4] bugfix [#36104625] --- frontend/templates/work.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/frontend/templates/work.html b/frontend/templates/work.html index 36b1f1e2..5aaa6ef3 100644 --- a/frontend/templates/work.html +++ b/frontend/templates/work.html @@ -72,13 +72,19 @@ $j(document).ready(function(){ Campaign suspended.
See FAQ. {% else %}{% if status == 'WITHDRAWN' %} Campaign withdrawn.
See FAQ. + {% else %}{% if wishers == 0 %} + No ungluers are wishing yet. +
+ Be the first! {% else %}{% if wishers == 1 %} {{ wishers }} Ungluer is wishing +
+ You can too! {% else %} {{ wishers }} Ungluers are wishing +
+ You can too! {% endif %} -
- You can too! {% endif %}{% endif %}{% endif %}{% endif %} {% endif %} {% else %} From 35180252e0a50fd3932e7a0b4bac554a89e047cd Mon Sep 17 00:00:00 2001 From: Andromeda Yelton Date: Tue, 18 Sep 2012 11:10:53 -0400 Subject: [PATCH 2/4] bugfix [#36104625] --- frontend/templates/work.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/templates/work.html b/frontend/templates/work.html index 5aaa6ef3..a206aae2 100644 --- a/frontend/templates/work.html +++ b/frontend/templates/work.html @@ -84,8 +84,7 @@ $j(document).ready(function(){ {{ wishers }} Ungluers are wishing
You can too! - {% endif %} - {% endif %}{% endif %}{% endif %}{% endif %} + {% endif %}{% endif %}{% endif %}{% endif %}{% endif %}{% endif %} {% endif %} {% else %} From b0c2f0926b28ed30323e27955df846b98b07215c Mon Sep 17 00:00:00 2001 From: Andromeda Yelton Date: Tue, 18 Sep 2012 12:12:50 -0400 Subject: [PATCH 3/4] whoops there are other cases --- frontend/templates/work.html | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/frontend/templates/work.html b/frontend/templates/work.html index a206aae2..4e2840b2 100644 --- a/frontend/templates/work.html +++ b/frontend/templates/work.html @@ -88,14 +88,21 @@ $j(document).ready(function(){ {% endif %} {% else %} - {% if wishers == 1 %} + {% if wishers == 0 %} + No ungluers are wishing yet. +
+ Be the first! + {% else %}{% if wishers == 1 %} {{ wishers }} Ungluer is wishing +
+
+ You can too! {% else %} {{ wishers }} Ungluers are wishing - {% endif %} - -
- You can too! + +
+ You can too! + {% endif %}{% endif %} {% endif %}{% endif %} From 82f6ceffd429fdd16aab1ecf062c92d23ca949b5 Mon Sep 17 00:00:00 2001 From: Andromeda Yelton Date: Tue, 18 Sep 2012 13:09:19 -0400 Subject: [PATCH 4/4] addressing comment --- frontend/templates/work.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/frontend/templates/work.html b/frontend/templates/work.html index 4e2840b2..26f462a9 100644 --- a/frontend/templates/work.html +++ b/frontend/templates/work.html @@ -87,24 +87,26 @@ $j(document).ready(function(){ {% endif %}{% endif %}{% endif %}{% endif %}{% endif %}{% endif %} {% endif %} {% else %} - {% if wishers == 0 %} - No ungluers are wishing yet. + + No ungluers are wishing yet. +
Be the first! {% else %}{% if wishers == 1 %} - {{ wishers }} Ungluer is wishing + + {{ wishers }} Ungluer is wishing
You can too! {% else %} - {{ wishers }} Ungluers are wishing + + {{ wishers }} Ungluers are wishing
You can too! {% endif %}{% endif %} {% endif %}{% endif %} - {% include "explore.html" %}