Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
voting.typo3.org
extensions
election
Commits
5e71f0d6
Commit
5e71f0d6
authored
Jan 24, 2021
by
Felix Herrmann
Browse files
change path to default svg
parent
c814efd6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Resources/Private/Partials/Model/Nominee/List.html
View file @
5e71f0d6
{namespace core=TYPO3\CMS\Core\ViewHelpers}
<html
xmlns:f=
"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
xmlns:core=
"http://typo3.org/ns/TYPO3/Core/ViewHelpers"
data-namespace-typo3-fluid=
"true"
>
<table
class=
"table"
>
<table
class=
"table"
>
<thead>
<thead>
<tr>
<tr>
...
@@ -29,7 +30,7 @@
...
@@ -29,7 +30,7 @@
<f:image
image=
"{nominee.image}"
width=
"50c"
height=
"50c"
/>
<f:image
image=
"{nominee.image}"
width=
"50c"
height=
"50c"
/>
</f:then>
</f:then>
<f:else>
<f:else>
<f:image
src=
"EXT:core/Resources/Public/Icons/T3Icons/avatar/avatar-default.svg"
width=
"50c"
height=
"50c"
/>
<f:image
src=
"EXT:core/Resources/Public/Icons/T3Icons/
svgs/
avatar/avatar-default.svg"
width=
"50c"
height=
"50c"
/>
</f:else>
</f:else>
</f:if>
</f:if>
</td>
</td>
...
@@ -74,3 +75,4 @@
...
@@ -74,3 +75,4 @@
</f:for>
</f:for>
</tbody>
</tbody>
</table>
</table>
</html>
\ No newline at end of file
Resources/Private/Partials/Model/Nominee/VoteList.html
View file @
5e71f0d6
{namespace core=TYPO3\CMS\Core\ViewHelpers}
<html
xmlns:f=
"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
xmlns:core=
"http://typo3.org/ns/TYPO3/Core/ViewHelpers"
<table
class=
"table table-hover"
>
data-namespace-typo3-fluid=
"true"
>
<thead>
<table
class=
"table table-hover"
>
<tr>
<thead>
<th>
<tr>
<f:translate
key=
"model.nominee.field.image"
>
Image
</f:translate>
<th>
</th>
<f:translate
key=
"model.nominee.field.image"
>
Image
</f:translate>
<th>
</th>
<f:translate
key=
"model.abstract_person.field.full_name"
>
Name
</f:translate>
<th>
</th>
<f:translate
key=
"model.abstract_person.field.full_name"
>
Name
</f:translate>
<th>
</th>
<f:translate
key=
"view.fe.election.vote.vote"
>
Vote
</f:translate>
<th>
</th>
<f:translate
key=
"view.fe.election.vote.vote"
>
Vote
</f:translate>
</tr>
</th>
</thead>
</tr>
<tbody
class=
"shuffle-rows"
>
</thead>
<f:for
each=
"{nominees}"
as=
"nominee"
>
<tbody
class=
"shuffle-rows"
>
<f:if
condition=
"{nominee.public}"
>
<f:for
each=
"{nominees}"
as=
"nominee"
>
<tr>
<f:if
condition=
"{nominee.public}"
>
<td>
<tr>
<f:if
condition=
"{nominee.image}"
>
<td>
<f:then>
<f:if
condition=
"{nominee.image}"
>
<f:image
image=
"{nominee.image}"
width=
"50c"
height=
"50c"
/>
<f:then>
</f:then>
<f:image
image=
"{nominee.image}"
width=
"50c"
height=
"50c"
/>
<f:else>
</f:then>
<f:image
src=
"EXT:core/Resources/Public/Icons/T3Icons/avatar/avatar-default.svg"
width=
"50c"
<f:else>
height=
"50c"
/>
<f:image
src=
"EXT:core/Resources/Public/Icons/T3Icons/svgs/avatar/avatar-default.svg"
</f:else>
width=
"50c"
height=
"50c"
/>
</f:if>
</f:else>
</td>
</f:if>
<td>
</td>
<f:if
condition=
"{nominee.url}"
>
<td>
<f:then>
<f:if
condition=
"{nominee.url}"
>
<f:link.external
target=
"_blank"
uri=
"{nominee.url}"
>
{nominee.fullName}
</f:link.external>
<f:then>
</f:then>
<f:link.external
target=
"_blank"
uri=
"{nominee.url}"
>
{nominee.fullName}
</f:link.external>
<f:else>
</f:then>
{nominee.fullName}
<f:else>
</f:else>
{nominee.fullName}
</f:if>
</f:else>
</td>
</f:if>
<td>
</td>
<f:form.checkbox
property=
"nominees.{nominee.uid}"
value=
"{nominee.uid}"
/>
<td>
</td>
<f:form.checkbox
property=
"nominees.{nominee.uid}"
value=
"{nominee.uid}"
/>
</tr>
</td>
</f:if>
</tr>
</f:for>
</f:if>
</tbody>
</f:for>
</table>
</tbody>
</table>
</html>
\ No newline at end of file
Resources/Private/Templates/FeElection/Show.html
View file @
5e71f0d6
<html
xmlns:f=
"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
data-namespace-typo3-fluid=
"true"
>
<f:layout
name=
"Frontend"
/>
<f:layout
name=
"Frontend"
/>
<f:section
name=
"Main"
>
<f:section
name=
"Main"
>
...
@@ -37,7 +39,7 @@
...
@@ -37,7 +39,7 @@
<f:image
image=
"{nominee.image}"
width=
"50c"
height=
"50c"
/>
<f:image
image=
"{nominee.image}"
width=
"50c"
height=
"50c"
/>
</f:then>
</f:then>
<f:else>
<f:else>
<f:image
src=
"EXT:core/Resources/Public/Icons/T3Icons/avatar/avatar-default.svg"
<f:image
src=
"EXT:core/Resources/Public/Icons/T3Icons/avatar/
svgs/
avatar-default.svg"
width=
"50c"
height=
"50c"
/>
width=
"50c"
height=
"50c"
/>
</f:else>
</f:else>
</f:if>
</f:if>
...
@@ -89,7 +91,7 @@
...
@@ -89,7 +91,7 @@
<f:image
image=
"{nominee.image}"
width=
"50c"
height=
"50c"
/>
<f:image
image=
"{nominee.image}"
width=
"50c"
height=
"50c"
/>
</f:then>
</f:then>
<f:else>
<f:else>
<f:image
src=
"EXT:core/Resources/Public/Icons/T3Icons/avatar/avatar-default.svg"
<f:image
src=
"EXT:core/Resources/Public/Icons/T3Icons/
svgs/
avatar/avatar-default.svg"
width=
"50c"
height=
"50c"
/>
width=
"50c"
height=
"50c"
/>
</f:else>
</f:else>
</f:if>
</f:if>
...
@@ -118,3 +120,4 @@
...
@@ -118,3 +120,4 @@
</f:else>
</f:else>
</f:if>
</f:if>
</f:section>
</f:section>
</html>
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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