hardlounge/client/views/toggle.tpl
2016-04-04 10:43:45 +03:00

20 lines
370 B
Smarty

{{#toggle}}
<div class="toggle-content">
{{#equal type "image"}}
<a href="{{link}}" target="_blank">
<img src="{{link}}">
</a>
{{else}}
<a href="{{link}}" target="_blank">
{{#if thumb}}
<img src="{{thumb}}" class="thumb">
{{/if}}
<div class="head">{{head}}</div>
<div class="body">
{{body}}
</div>
</a>
{{/equal}}
</div>
{{/toggle}}