thuecat/Resources/Private/Partials/Frontend/ContentElement/Address.html
Dirk Koritnik d23f023aa1
Add Twitter Bootstrap markup to templates (#50)
This allows out of the box integration into websites using the Twitter
Bootstrap Frontend Framework.

Resolves: #11
2021-09-14 15:02:16 +02:00

21 lines
794 B
HTML

<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<div class="address">
<p>
<f:if condition="{address.street}">
{address.street}<br>
</f:if>
<f:if condition="{address.zip} && {address.city}">
{address.zip} {address.city}<br>
</f:if>
<f:if condition="{address.email}">
<f:link.email email="{address.email}">{address.email}</f:link.email><br>
</f:if>
<f:if condition="{address.phone}">
<a href="tel:{address.phone}">{address.phone}</a><br>
</f:if>
<f:if condition="{address.fax}">
{address.fax}
</f:if>
</p>
</div>
</html>