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:11:28 UTC
svn commit: r1728715 - /steve/trunk/pysteve/www/htdocs/js/steve_rest.js
Author: humbedooh
Date: Fri Feb 5 17:11:28 2016
New Revision: 1728715
URL: http://svn.apache.org/viewvc?rev=1728715&view=rev
Log:
attempt to insert some info about bulk voting if multiple YNA issues
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=1728715&r1=1728714&r2=1728715&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:11:28 2016
@@ -872,6 +872,9 @@ function renderElectionFrontpage(respons
btn.setAttribute("value", "Bulk vote on YNA issues")
btn.setAttribute("onclick", "location.href='/bulk_yna.html?" + el[0] + "/" + el[1] + "';")
par.appendChild(btn)
+ 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.insertAfter(p, title)
}
if (response.base_data.monitors && response.base_data.monitors.length > 0) {