hardlounge/client/views/msg_preview.tpl

16 lines
429 B
Smarty
Raw Normal View History

2017-06-26 09:01:55 +00:00
{{#preview}}
<a href="{{link}}" target="_blank" rel="noopener" class="toggle-content toggle-type-{{type}}{{#if shown}} show{{/if}}">
{{#equal type "image"}}
<img src="{{link}}">
{{else}}
{{#if thumb}}
<img src="{{thumb}}" class="thumb">
{{/if}}
<div class="toggle-text">
<div class="head" title="{{head}}">{{head}}</div>
<div class="body" title="{{body}}">{{body}}</div>
2017-06-26 09:01:55 +00:00
</div>
{{/equal}}
</a>
{{/preview}}