hardlounge/client/views/toggle.tpl
2014-10-04 05:31:45 -07:00

17 lines
304 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">
<div class="head">{{{head}}}</div>
<div class="body">
{{body}}
</div>
</a>
{{/equal}}
</div>
{{/toggle}}