Commit c39b3a77 authored by Stefan Busemann's avatar Stefan Busemann
Browse files

Merge branch '3-show-nominees-at-active-elections' into 'master'

Resolve "Show Nominees at active elections"

Closes #3

See merge request t3o/election!2
parents cfad0caa 11c0fbb0
<f:layout name="Frontend"/> <f:layout name="Frontend"/>
<f:section name="Main"> <f:section name="Main">
<h1> <h1>
{election.title} {election.title}
</h1> </h1>
<div> <div>
{election.description} {election.description}
</div> </div>
<h2><f:translate key=""/></h2> <f:if condition="!{election.ElectionFinished}">
<table class="table table-hover"> <f:then>
<thead> <h2>Current Voting</h2>
<tr> <table class="table table-hover">
<th> <thead>
<f:translate key=""/> <tr>
</th> <th>
<th> <f:translate key=""/>
<f:translate key=""/> </th>
</th> <th>
</tr> Status
</thead> </th>
<tbody> </tr>
<f:for each="{results}" as="result"> </thead>
<tr> <tbody>
<td> <f:for each="{election.nominees}" as="nominee">
{result.nominee.lastName}, {result.nominee.firstName} {result.nominee.MiddleName} <tr>
</td> <td>
<td> {nominee.lastName}, {nominee.firstName} {nominee.MiddleName}
<f:if condition="{election.ElectionFinished}"> </td>
<f:then> <td>
<f:if condition="{result.relativevotes}"> <f:translate key=""/>
{result.relativevotes}% ({result.votes} <f:translate key=""/>) </td>
</f:if> </tr>
</f:then> </f:for>
<f:else> </tbody>
<f:translate key=""/> </table>
</f:else> </f:then>
</f:if> <f:else>
</td> <h2>
</tr> <f:translate key=""/>
</f:for> </h2>
</table> <table class="table table-hover">
<f:translate key=""/>
<f:translate key=""/>
<f:for each="{results}" as="result">
{result.nominee.lastName}, {result.nominee.firstName} {result.nominee.MiddleName}
<f:if condition="{election.ElectionFinished}">
<f:if condition="{result.relativevotes}">
{result.relativevotes}% ({result.votes}
<f:translate key=""/>
<f:translate key=""/>
</f:section> </f:section>
...@@ -18,5 +18,5 @@ $EM_CONF[$_EXTKEY] = array( ...@@ -18,5 +18,5 @@ $EM_CONF[$_EXTKEY] = array(
'author' => 'Oliver Eglseder, Stefan Busemann, Christoph Pascher', 'author' => 'Oliver Eglseder, Stefan Busemann, Christoph Pascher',
'author_email' => ',,', 'author_email' => ',,',
'author_company' => 'TYPO3 Association', 'author_company' => 'TYPO3 Association',
'version' => '0.0.2', 'version' => '0.0.3',
); );
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment