Fixed the pin-image regression

This commit is contained in:
Simon Brooke 2018-09-23 13:27:56 +01:00
parent c575b52d01
commit 388bb3fb7d
5 changed files with 29 additions and 30 deletions

View file

@ -26,29 +26,16 @@
</header>
<div id="main-container" class="container">
<div id="content">
<div class="container-fluid">
<div class="row-fluid">
<div class="col-lg-12">
<div class="centering text-center">
<div class="text-center">
<h2><span class="text-danger">Error: 502 Bad Gateway</span></h2>
<p>
We are suffering an intermittent problem causing an occasional crash of
the Project Hope canvassing application. We apologise for this, and are
working on a permanent fix.
</p>
<p>
The application will restart automatically
within five minutes, please take a short break.
</p>
<hr>
</div>
</div>
</div>
</div>
</div>
<h2><span class="text-danger">Error: 502 Bad Gateway</span></h2>
<p>
We are suffering an intermittent problem causing an occasional crash of
the Project Hope canvassing application. We apologise for this, and are
working on a permanent fix.
</p>
<p>
The application will restart automatically
within five minutes, please take a short break.
</p>
</div>
<br clear="both"/>

View file

@ -85,3 +85,12 @@ WHERE roles.id = ln_canvassers_roles.role_id
AND ln_canvassers_roles.canvasser_id = :id
ORDER BY roles.name,
roles.id
-- :name list-elector-intentions :? :*
-- :doc short form of `list-intentions-by-elector`, returning far less data,
-- for use in `youyesyet.routes.rest/get-local-data`, q.v.
SELECT intentions.id, intentions.option_id, visits.date
FROM intentions, visits
WHERE intentions.visit_id = visits.id
AND intentions.elector_id = :id
ORDER BY visits.date DESC