Skip to content
Snippets Groups Projects
Commit 2f8fb328 authored by Michael Kessler's avatar Michael Kessler
Browse files

[TASK] Add attributes to image and mailto to contact

parent f65dde2c
No related branches found
No related tags found
No related merge requests found
......@@ -88,12 +88,18 @@
<br/>{job.contact.phone}
</f:if>
<f:if condition="{job.contact.email}">
<br/>{job.contact.email}
<br/>
<f:if condition="!{job.hideApplyByEmail}">
<p>
<f:comment><!-- Spam Protection (lib.parseFunc encodes adresses --></f:comment>
<f:format.html parseFuncTSPath="lib.parseFunc"><a href="mailto:{job.contact.email}"><f:translate key="frontend.emailContact" /></a></f:format.html>
</p>
</f:if>
</f:if>
</div>
<f:if condition="{job.contact.image}">
<div class="sg-jobs-contact-box__image">
<f:image image="{job.contact.image}" />
<f:image image="{job.contact.image}" maxWidth="100" maxHeight="100" alt="{job.contact.firstName} {job.contact.lastName}" />
</div>
</f:if>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment