Author: humbedooh
Date: Wed Mar 25 17:48:51 2015
New Revision: 1669182

URL: http://svn.apache.org/r1669182
Log:
add a link to a soon-to-come faq
fix a naming issue

Modified:
    steve/trunk/pysteve/www/htdocs/admin/add_issue.html
    steve/trunk/pysteve/www/htdocs/admin/edit_issue.html
    steve/trunk/pysteve/www/htdocs/js/steve_rest.js

Modified: steve/trunk/pysteve/www/htdocs/admin/add_issue.html
URL: 
http://svn.apache.org/viewvc/steve/trunk/pysteve/www/htdocs/admin/add_issue.html?rev=1669182&r1=1669181&r2=1669182&view=diff
==============================================================================
--- steve/trunk/pysteve/www/htdocs/admin/add_issue.html (original)
+++ steve/trunk/pysteve/www/htdocs/admin/add_issue.html Wed Mar 25 17:48:51 2015
@@ -18,6 +18,10 @@
 <div class="formbox">
            <a 
href="javascript:void(location.href='edit_election.html'+(document.location.search.split('/'))[0]);">Back
 to election editing front page</a>
        <h2>Add a new issue:</h2>
+       <p style="text-align: center;">
+    Not sure what the various voting methods are or how they work?
+    Check out our <a href="/vote_faq.html"><kbd>vote FAQ</kbd></a>!
+</p>
  <fieldset>
         <legend>Base data</legend>
     <div class="keyvaluepair">

Modified: steve/trunk/pysteve/www/htdocs/admin/edit_issue.html
URL: 
http://svn.apache.org/viewvc/steve/trunk/pysteve/www/htdocs/admin/edit_issue.html?rev=1669182&r1=1669181&r2=1669182&view=diff
==============================================================================
--- steve/trunk/pysteve/www/htdocs/admin/edit_issue.html (original)
+++ steve/trunk/pysteve/www/htdocs/admin/edit_issue.html Wed Mar 25 17:48:51 
2015
@@ -17,7 +17,10 @@
     <a 
href="javascript:void(location.href='edit_election.html'+(document.location.search.split('/'))[0]);"
 class="btn">Back to election editing front page</a>
     <a style="float: right;" href="javascript:void(deleteIssue());" 
class="btn-red"><img style="vertical-align: middle;"  
src="/images/icon_delete.png"/> Delete issue</a>
 <h2 id="title">Edit an issue:</h2>
-
+<p style="text-align: center;">
+    Not sure what the various voting methods are or how they work?
+    Check out our <a href="/vote_faq.html"><kbd>vote FAQ</kbd></a>!
+</p>
 
 <div id="preloaderWrapper">
     <img src="/images/steve_spinner.gif"/><br/>

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=1669182&r1=1669181&r2=1669182&view=diff
==============================================================================
--- steve/trunk/pysteve/www/htdocs/js/steve_rest.js (original)
+++ steve/trunk/pysteve/www/htdocs/js/steve_rest.js Wed Mar 25 17:48:51 2015
@@ -471,7 +471,7 @@ function renderEditIssue(code, response,
                else if (edit_i.type.match(/^mntv/)) {
                        
                        // base data
-                       obj.innerHTML = "<h3>Editing a Multiple 
Non-Transferable Vote issue</h3>"
+                       obj.innerHTML = "<h3>Editing a Multiple 
Non-Transferable Vote (" + edit_i.type.toUpperCase() + ") issue</h3>"
                        obj.appendChild(keyvaluepair("id", "Issue ID:", "text", 
edit_i.id, true))
                        obj.appendChild(keyvaluepair("ititle", "Issue title:", 
"text", edit_i.title))
                        obj.appendChild(keyvaluepair("description", 
"Description (optinal):", "textarea", edit_i.description))
@@ -497,7 +497,7 @@ function renderEditIssue(code, response,
                else if (edit_i.type.match(/^cop/)) {
                        
                        // base data
-                       obj.innerHTML = "<h3>Editing a Candidate or Party Vote 
issue</h3>"
+                       obj.innerHTML = "<h3>Editing a Candidate or Party Vote 
(" + edit_i.type.toUpperCase() + ") issue</h3>"
                        obj.appendChild(keyvaluepair("id", "Issue ID:", "text", 
edit_i.id, true))
                        obj.appendChild(keyvaluepair("ititle", "Issue title:", 
"text", edit_i.title))
                        obj.appendChild(keyvaluepair("description", 
"Description (optinal):", "textarea", edit_i.description))


Reply via email to