openstackweb/registration/templates/Layout/EditProfilePage_election.ss

68 lines
3.3 KiB
Scheme

<div class="container">
$SetCurrentTab(2)
<% require themedCSS(profile-section) %>
<h1>$Title</h1>
<% if CurrentMember.isFoundationMember %>
<% include CurrentUserInfoBox LogOutLink=$Top.LogoutUrl, ResignLink=$Top.ResignUrl %>
>
<% include ProfileNav %>
<% if CurrentElection %>
<% with CurrentElection %>
<form><fieldset>
<div class="currentElection"><strong>The current election is the <a href="$Link">$Title</a>.</strong> &nbsp; <a href="$Link" class="roundedButton">Election Details</a></div>
<hr/>
<h2>Your Status As A Candidate</h2>
<% if NominationsForCurrentMember %>
<% if CurrentMemberHasAcceoted %>
<p>You have been nominated <strong>$NominationsForCurrentMember.TotalItems</strong> <% if PluralNominations %>times<% else %>time<% end_if %>, and agreed to accept the nomination. You will be listed as a candidate on the ballot when you receive 10 nominations.</p>
<p><a href="{$Top.Link}CandidateApplication/" class="roundedButton">Edit Candidate Application</a></p>
<% else %>
<p>You have been nominated <strong>$NominationsForCurrentMember.TotalItems</strong> <% if PluralNominations %>times<% else %>time<% end_if %>, but you have not accepted the nomination. You must accept the nomination and complete a Candidate Profile to be officially listed as a candidate for this election.</p>
<p><a href="{$Top.Link}CandidateApplication/" class="roundedButton">Accept Nomination</a></p>
<% end_if %>
<% else %>
<% if CurrentMemberHasAcceoted %>
<p>You have completed your Candidate Application, but have not been nominated yet. You will be listed as a candidate on the ballot when you receive 10 nominations.</p>
<p><a href="{$Top.Link}CandidateApplication/" class="roundedButton">Edit Candidate Application</a></p>
<% else %>
<p><strong>You don't have any nominations for this election.</strong> To get started, complete your Candidate Application and encourage people to nominate you. Once you have completed the application and have at least 10 nominations, you will be listed on the election ballot.</p>
<p><a href="{$Top.Link}CandidateApplication/" class="roundedButton">Fill Out Application</a></p>
<% end_if %>
<% end_if %>
<% include CandidateNominations %>
<p><a href="/election/2015-individual-director-election/CandidateList/" class="roundedButton">See The Current Nominations</a> &nbsp; <a href="/community/members/" class="roundedButton">Nominate A Member</a></p>
</fieldset></form>
<% end_with %>
<% else %>
<form><fieldset>
<p> There is no current Election. When an eleciton is active, this page allows you to nominate candidates and edit your own candidate information.</p>
</fieldset></form>
<% end_if %>
<% else %>
<p>In order to edit your community profile, you will first need to <a href="/Security/login/?BackURL=%2Fprofile%2F">login as a member</a>. Don't have an account? <a href="/join/">Join The Foundation</a></p>
<p><a class="roundedButton" href="/Security/login/?BackURL=%2Fprofile%2Felection%2F">Login</a> <a href="/join/" class="roundedButton">Join The Foundation</a></p>
<% end_if %>
</div>
</div>