You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@steve.apache.org by hu...@apache.org on 2016/02/05 18:13:11 UTC

svn commit: r1728717 - /steve/trunk/pysteve/www/htdocs/js/steve_rest.js

Author: humbedooh
Date: Fri Feb  5 17:13:11 2016
New Revision: 1728717

URL: http://svn.apache.org/viewvc?rev=1728717&view=rev
Log:
add some text even if no >1 YNA issue

Modified:
    steve/trunk/pysteve/www/htdocs/js/steve_rest.js

Modified: steve/trunk/pysteve/www/htdocs/js/steve_rest.js
URL: http://svn.apache.org/viewvc/steve/trunk/pysteve/www/htdocs/js/steve_rest.js?rev=1728717&r1=1728716&r2=1728717&view=diff
==============================================================================
--- steve/trunk/pysteve/www/htdocs/js/steve_rest.js (original)
+++ steve/trunk/pysteve/www/htdocs/js/steve_rest.js Fri Feb  5 17:13:11 2016
@@ -875,6 +875,10 @@ function renderElectionFrontpage(respons
         var p = document.createElement('p')
         p.innerHTML = "Click on an issue to start voting. As this election has more than one yes/no vote, we have placed a button at the bottom of this page for batch-voting on these issues."
         par.insertBefore(p, title.nextSibling)
+    } else {
+        var p = document.createElement('p')
+        p.innerHTML = "Click on an issue to start voting. You may recast your vote on any issue as often as you like."
+        par.insertBefore(p, title.nextSibling)
     }
     
     if (response.base_data.monitors && response.base_data.monitors.length > 0) {