rendered paste body
<xar:comment>License: GPL http://www.gnu.org/copyleft/gpl.html</xar:comment>
<xar:comment>This is a generic display template for any DD object. You can use a specific template for one particular object in this directory as showdisplay-[objectname].xd, and/or use templates in your own [module]/xartemplates/objects directory by specifying the tplmodule="..." argument in the xar:data-display BL tag or showDisplay() method call.</xar:comment>
<xar:if condition="!empty($isprimary) and xarModIsHooked('categories',$modname,$itemtype)">
<xar:template file="catnavigation" />
</xar:if>
<xar:comment>The layout could be set directly or through inheritance (for example in the modify prop screen)</xar:comment>
<xar:if condition="empty($layout)">
<xar:foreach in="$properties" key="$name" value="$property">
<div class="xar-form-input-wrapper">
<xar:data-label property="$properties[$name]" label="id" />
<xar:data-output property="$properties[$name]" />
</div>
</xar:foreach>
<xar:else />
<xar:foreach in="$properties" key="$name" value="$property">
<div class="detailscontainer">
<div class="detailstopbar1">
<div class="detailstopbar2">
<div class="labelwrap">
<span class="yellowtext">
LABLE HERE
</span>
</div>
</div>
</div>
<div class="detailscontentblockouter">
<div class="detailscontentblockinner">
<div class="mainmageblock">
</div>
<div class="maindetailsblock">
<xar:if condition="!empty($number_name)">
<xar:data-output property="$properties['number_name']" value="$fields['number_name']" />
<xar:else />
</xar:if>
<xar:if condition="!empty($address_1)">
<xar:data-output property="$properties['address_1']" value="$fields['address_1']" />
<xar:else />
</xar:if>
<xar:if condition="!empty($address_2)">
<br />
<xar:data-output property="$properties['address_2']" value="$fields['address_2']" />
<xar:else />
</xar:if>
<xar:if condition="!empty($address_3)">
<br />
<xar:data-output property="$properties['address_3']" value="$fields['address_3']" />
<xar:else />
</xar:if>
<xar:if condition="!empty($town)">
<br />
<xar:data-output property="$properties['town']" value="$fields['town']" />
<xar:else />
</xar:if>
<xar:if condition="!empty($county)">
<br />
<xar:data-output property="$properties['county']" value="$fields['county']" />
<xar:else />
</xar:if>
<xar:if condition="!empty($post_code)">
<br />
<xar:data-output property="$properties['post_code']" value="$fields['post_code']" />
<xar:else />
</xar:if>
</div>
<div class="maindspacerblock">
</div>
</div>
</div>
<div class="detailsmiddlebar">
<div class="labelwrap">
<span class="yellowtext">
LABLE HERE
</span>
</div>
</div>
<div class="othercontentblockouter">
<div class="othercontentblockinner">
<div class="otherimageblock">
IMG HERE
</div>
<div class="otherdetailsblock">
DETAILS HERE
<br />
DETAILS HERE
<br />
DETAILS HERE
</div>
</div>
</div>
<div class="detailsbottombar1">
<div class="detailsbottombar2">
<div class="labelwrap">
<span class="yellowtext">
LABLE HERE
</span>
</div>
</div>
</div>
</div>
</xar:foreach>
</xar:if>