thelounge/client/views/msg_preview_toggle.tpl

11 lines
260 B
Smarty
Raw Normal View History

{{#preview}}
<button class="toggle-button toggle-preview {{#if shown}} opened{{/if}}"
data-url="{{link}}"
{{#equal type "image"}}
aria-label="Toggle image preview"
{{else}}
aria-label="Toggle website preview"
{{/equal}}
></button>
{{/preview}}