thelounge/client/views/toggle.tpl
2017-04-04 01:40:51 -04:00

19 lines
391 B
Smarty

{{#toggle}}
<div class="toggle-content toggle-type-{{type}}">
{{#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}}