Author: nigelj Date: 2008-06-13 04:31:11 +0000 (Fri, 13 Jun 2008) New Revision: 52
Modified: branches/0.1.0-STABLE/elections/controllers.py trunk/elections/controllers.py Log: Controllers update to close Ticket #18 (Typo after voting has been done)
Modified: branches/0.1.0-STABLE/elections/controllers.py =================================================================== --- branches/0.1.0-STABLE/elections/controllers.py 2008-06-12 23:00:12 UTC (rev 51) +++ branches/0.1.0-STABLE/elections/controllers.py 2008-06-13 04:31:11 UTC (rev 52) @@ -128,7 +128,7 @@ raise turbogears.redirect("/") for uvote in uvotes: Votes(voter=turbogears.identity.current.user_name, candidate_id=uvote, weight=uvotes[uvote], election_id=eid, timestamp=curtime) - turbogears.flash("You vote has been recorded, thank you!") + turbogears.flash("Your vote has been recorded, thank you!") raise turbogears.redirect("/") elif "vote" in kw: turbogears.flash("Please confirm your vote!")
Modified: trunk/elections/controllers.py =================================================================== --- trunk/elections/controllers.py 2008-06-12 23:00:12 UTC (rev 51) +++ trunk/elections/controllers.py 2008-06-13 04:31:11 UTC (rev 52) @@ -128,7 +128,7 @@ raise turbogears.redirect("/") for uvote in uvotes: Votes(voter=turbogears.identity.current.user_name, candidate_id=uvote, weight=uvotes[uvote], election_id=eid, timestamp=curtime) - turbogears.flash("You vote has been recorded, thank you!") + turbogears.flash("Your vote has been recorded, thank you!") raise turbogears.redirect("/") elif "vote" in kw: turbogears.flash("Please confirm your vote!")
elections-devel@lists.stg.fedorahosted.org