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
d900e4da
Commit
d900e4da
authored
Feb 11, 2019
by
Christoph Pascher
Browse files
Adding fallback image for listings
parent
64638664
Changes
2
Hide whitespace changes
Inline
Side-by-side
Resources/Private/Partials/Model/Nominee/List.html
View file @
d900e4da
...
@@ -24,7 +24,14 @@
...
@@ -24,7 +24,14 @@
<f:for
each=
"{nominees}"
as=
"nominee"
>
<f:for
each=
"{nominees}"
as=
"nominee"
>
<tr
{
f:if
(
condition:
'{
nominee.public
}',
else:
'
style=
"background-color:#ddd;"
')}
>
<tr
{
f:if
(
condition:
'{
nominee.public
}',
else:
'
style=
"background-color:#ddd;"
')}
>
<td>
<td>
<f:image
image=
"{nominee.image}"
width=
"50c"
height=
"50c"
/>
<f:if
condition=
"{nominee.image}"
>
<f:then>
<f:image
image=
"{nominee.image}"
width=
"50c"
height=
"50c"
/>
</f:then>
<f:else>
<f:image
src=
"EXT:core/Resources/Public/Icons/T3Icons/avatar/avatar-default.svg"
width=
"50c"
height=
"50c"
/>
</f:else>
</f:if>
</td>
</td>
<td>
<td>
<f:link.action
action=
"edit"
controller=
"BeNominee"
arguments=
"{nominee:nominee}"
>
<f:link.action
action=
"edit"
controller=
"BeNominee"
arguments=
"{nominee:nominee}"
>
...
...
Resources/Private/Partials/Model/Nominee/VoteList.html
View file @
d900e4da
...
@@ -22,7 +22,14 @@
...
@@ -22,7 +22,14 @@
<f:if
condition=
"{nominee.public}"
>
<f:if
condition=
"{nominee.public}"
>
<tr>
<tr>
<td>
<td>
<f:image
image=
"{nominee.image}"
width=
"50c"
height=
"50c"
/>
<f:if
condition=
"{nominee.image}"
>
<f:then>
<f:image
image=
"{nominee.image}"
width=
"50c"
height=
"50c"
/>
</f:then>
<f:else>
<f:image
src=
"EXT:core/Resources/Public/Icons/T3Icons/avatar/avatar-default.svg"
width=
"50c"
height=
"50c"
/>
</f:else>
</f:if>
</td>
</td>
<td>
<td>
{nominee.fullName}
{nominee.fullName}
...
...
Write
Preview
Markdown
is supported
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