Index: user/des/fbce/root/run/edit.tt =================================================================== --- user/des/fbce/root/run/edit.tt (revision 235758) +++ user/des/fbce/root/run/edit.tt (revision 235759) @@ -1,28 +1,26 @@ [% PROCESS lib/html_top %] [% PROCESS lib/header %] [% WRAPPER lib/main %] [% PROCESS run/when %] -[% IF nominating == 0 %] +[% IF !user.active %] +

You are not qualified to run in the election. If you believe this is incorrect, please contact the election administrator.

+[% ELSIF nominating == 0 %]
-
- Slogan - +

Slogan

+ +

Statement (WikiFormat)

+
-
- Statement - -
- WikiFormat syntax
[% END %] [% END %] [% PROCESS lib/footer %] [% PROCESS lib/html_bottom %] Index: user/des/fbce/root/run/index.tt =================================================================== --- user/des/fbce/root/run/index.tt (revision 235758) +++ user/des/fbce/root/run/index.tt (revision 235759) @@ -1,28 +1,27 @@ [% PROCESS lib/html_top %] [% PROCESS lib/header %] [% WRAPPER lib/main %] [% PROCESS run/when %] -[% IF user.statement.defined %] +[% IF !user.active %] +

You are not qualified to run in the election. If you believe this is incorrect, please contact the election administrator.

+[% ELSIF user.statement.defined %]

You have registered as a candidate in the 2010 FreeBSD Core Team election. You have provided the following statement:

[% user.statement.short | html %]

[% user.statement.long_html %]
-[% END %] - -[% IF nominating == 0 %] - [% IF user.statement.defined %] + [% IF nominating == 0 %]

You can edit your statement or withdraw your candidacy.

- [% ELSE %] -

You can register your candidacy in the 2010 FreeBSD Core Team election.

[% END %] +[% ELSIF nominating == 0 %] +

You can register your candidacy in the election.

[% END %] [% END %] [% PROCESS lib/footer %] [% PROCESS lib/html_bottom %] Index: user/des/fbce/root/run/register.tt =================================================================== --- user/des/fbce/root/run/register.tt (revision 235758) +++ user/des/fbce/root/run/register.tt (revision 235759) @@ -1,28 +1,31 @@ [% PROCESS lib/html_top %] [% PROCESS lib/header %] [% WRAPPER lib/main %] [% PROCESS run/when %] -[% IF nominating == 0 %] +[% IF !user.active %] +

You are not qualified to run in the election. If you believe this is incorrect, please contact the election administrator.

+[% ELSIF nominating == 0 %]

To register as a candidate in the election, enter the following information:

+

If you have a Gravatar, it will appear next to your statement.

Slogan

Statement (WikiFormat)

[% END %] [% END %] [% PROCESS lib/footer %] [% PROCESS lib/html_bottom %] Index: user/des/fbce/root/run/withdraw.tt =================================================================== --- user/des/fbce/root/run/withdraw.tt (revision 235758) +++ user/des/fbce/root/run/withdraw.tt (revision 235759) @@ -1,14 +1,20 @@ [% PROCESS lib/html_top %] [% PROCESS lib/header %] [% WRAPPER lib/main %] +[% IF !user.active %] +

You are not qualified to run in the election. If you believe this is incorrect, please contact the election administrator.

+[% ELSIF !user.statement.defined %] +

You have not registered as a candidate.

+[% ELSE %]

Are you sure you want to withdraw your candidacy? Note that your statement will be permanently deleted from the database; if you change your mind, you will have to start over.

+[% END %] [% END %] [% PROCESS lib/footer %] [% PROCESS lib/html_bottom %] Index: user/des/fbce/root/vote/index.tt =================================================================== --- user/des/fbce/root/vote/index.tt (revision 235758) +++ user/des/fbce/root/vote/index.tt (revision 235759) @@ -1,81 +1,84 @@ [% WRAPPER lib/html_top %] [% END %] [% PROCESS lib/header %] [% WRAPPER lib/main %] [% PROCESS vote/when %] -[% IF voting == 0 %] + +[% IF !user.active %] +

You are not qualified to vote in the election. If you believe this is incorrect, please contact the election administrator.

+[% ELSIF voting == 0 %] [% IF candidates.count == 0 %]

There are no candidates to vote for.

[% ELSE %]

You may vote for up to [% max_votes %] candidates from the list below. You can modify your vote at any time until voting closes (see the schedule on the front page).

[% IF vote_ok.defined %] [% END %] [% IF error.defined %] [% END %] [% WHILE (candidate = candidates.next) %] [% login = candidate.login %] - + [% END %]

Your vote was registered. You may change it at any time until voting closes.

[% error | html %]

[% candidate.statement.short | html %]
X votes cast

[% END %] [% END %] [% END %] [% PROCESS lib/footer %] [% PROCESS lib/html_bottom %]