From owner-svn-src-user@FreeBSD.ORG Thu Apr 17 20:48:33 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 466BFE90; Thu, 17 Apr 2014 20:48:33 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 34E4111A7; Thu, 17 Apr 2014 20:48:33 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s3HKmXPS040940; Thu, 17 Apr 2014 20:48:33 GMT (envelope-from des@svn.freebsd.org) Received: (from des@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s3HKmXMM040939; Thu, 17 Apr 2014 20:48:33 GMT (envelope-from des@svn.freebsd.org) Message-Id: <201404172048.s3HKmXMM040939@svn.freebsd.org> From: Dag-Erling Smørgrav Date: Thu, 17 Apr 2014 20:48:33 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r264627 - user/des/fbp/root/poll X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2014 20:48:33 -0000 Author: des Date: Thu Apr 17 20:48:32 2014 New Revision: 264627 URL: http://svnweb.freebsd.org/changeset/base/264627 Log: Print the number of voters and votes cast on the result page. Modified: user/des/fbp/root/poll/result.tt Modified: user/des/fbp/root/poll/result.tt ============================================================================== --- user/des/fbp/root/poll/result.tt Thu Apr 17 20:47:30 2014 (r264626) +++ user/des/fbp/root/poll/result.tt Thu Apr 17 20:48:32 2014 (r264627) @@ -19,6 +19,7 @@

No votes have been cast yet.

[% ELSE %]

Here are the[% IF now < poll.ends %] preliminary[% END %] results of the poll:

+

[% IF poll.votes_rs.count == 1 %]One vote has[% ELSE %][% poll.votes_rs.count %] votes have[% END %] been cast by [% IF poll.voters_rs.count == 1 %]one voter[% ELSE %][% poll.voters_rs.count %] voters[% END %].

[% FOREACH question IN poll.questions %] [% qid = question.id %]