mirror of
https://github.com/thelounge/thelounge
synced 2024-11-26 14:00:21 +00:00
10 lines
260 B
Smarty
10 lines
260 B
Smarty
{{#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}}
|