Skip to content

Commit

Permalink
Get order right when survey already filled in
Browse files Browse the repository at this point in the history
  • Loading branch information
Francis Irving committed Apr 28, 2010
1 parent 9aeac46 commit a4e1b84
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
Expand Up @@ -20,32 +20,33 @@ <h3>If you haven't already....</h3>

<h3>Your answers were...</h3>

<h4>National</h4>
<h4>Local</h4>
<ul>
{% for r in candidacy.national_responses %}
{% for r in candidacy.local_responses %}
<li>
{{ forloop.counter}}.
{{ r.refined_issue.question }}
- you <strong>{{ r.verb_you }}</strong>.
- you <strong>{{ r.verb_you }}</strong>
{% if r.more_explanation %}
You added <em>"{{r.more_explanation.strip }}"</em>
saying <em>"{{r.more_explanation.strip }}"</em>
{% endif %}
</li>
{% empty %}
No local questions.
{% endfor %}
</ul>
<h4>Local</h4>

<h4>National</h4>
<ul>
{% for r in candidacy.local_responses %}
{% for r in candidacy.national_responses %}
<li>
{{ forloop.counter}}.
{{ r.refined_issue.question }}
- you <strong>{{ r.verb_you }}</strong>
- you <strong>{{ r.verb_you }}</strong>.
{% if r.more_explanation %}
saying <em>"{{r.more_explanation.strip }}"</em>
You added <em>"{{r.more_explanation.strip }}"</em>
{% endif %}
</li>
{% empty %}
No local questions.
{% endfor %}
</ul>

Expand Down
5 changes: 2 additions & 3 deletions googleappengine/electionsurvey/todo.txt
Expand Up @@ -10,13 +10,12 @@ Test on different browsers
Memcache each constituency


Link to blog post for explanation

Log answers people give in database? So can share.
Have a choice of candidates at the end, say who you now like most

Link to blog posts for explanation


When survey already filled in, order is wrong (local shoudl be first)
On main quiz, "has not been asked" when they've had postal survey is wrong
make admin page show postal sent too
Grep for have sent email, and add have sent post as well (in a few days time, Thursdayish)
Expand Down

0 comments on commit a4e1b84

Please sign in to comment.