Commit 8e9e2e6e authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Adapt HTML template of just_vote

parent fbf03bba
Pipeline #21122 passed with stages
in 9 minutes and 25 seconds
lib.contentElement {
templateRootPaths.712 = EXT:t3org_layout/Resources/Private/Extensions/JustVote/Templates/
}
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<f:layout name="Default" />
<f:section name="Main">
<div class="container">
<f:flashMessages queueIdentifier="just_vote" />
<h3>{votingConfiguration.0.data.title}</h3>
{votingConfiguration.0.data.description -> f:format.html()}
<f:if condition="{votingConfiguration.0}">
<f:then>
<f:if condition="{votingConfiguration.0.endtime}">
<p>The voting is possible until {votingConfiguration.0.endtime -> f:format.date(format:'Z')}</p>
</f:if>
</f:then>
<f:else>
<p>The voting is not online.</p>
</f:else>
</f:if>
<f:if condition="{votingConfiguration.0.hasVoted}">
<f:then>
<f:render partial="Results" arguments="{_all}" />
</f:then>
<f:else>
<f:render partial="Form" arguments="{_all}" />
</f:else>
</f:if>
</div>
</f:section>
</html>
Supports Markdown
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