thelounge/client/views/toggle.tpl

20 lines
391 B
Smarty
Raw Normal View History

2014-09-27 23:47:04 +00:00
{{#toggle}}
<div class="toggle-content toggle-type-{{type}}">
2014-09-27 19:17:05 +00:00
{{#equal type "image"}}
2014-09-27 20:39:14 +00:00
<a href="{{link}}" target="_blank">
<img src="{{link}}">
2014-09-27 19:17:05 +00:00
</a>
{{else}}
2014-09-27 20:39:14 +00:00
<a href="{{link}}" target="_blank">
{{#if thumb}}
<img src="{{thumb}}" class="thumb">
{{/if}}
<div class="head">{{head}}</div>
2014-09-27 20:39:14 +00:00
<div class="body">
{{body}}
</div>
</a>
2014-09-27 19:17:05 +00:00
{{/equal}}
</div>
2014-09-27 23:47:04 +00:00
{{/toggle}}