Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
typo3.org
typo3.org
Commits
8e9e2e6e
Commit
8e9e2e6e
authored
Dec 15, 2021
by
Thomas Löffler
Browse files
Adapt HTML template of just_vote
parent
fbf03bba
Pipeline
#21122
passed with stages
in 9 minutes and 25 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extensions/t3org_layout/Configuration/TypoScript/Ext/JustVote.typoscript
0 → 100644
View file @
8e9e2e6e
lib.contentElement {
templateRootPaths.712 = EXT:t3org_layout/Resources/Private/Extensions/JustVote/Templates/
}
extensions/t3org_layout/Resources/Private/Extensions/JustVote/Templates/Show.html
0 → 100644
View file @
8e9e2e6e
<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>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment