mirror of https://github.com/status-im/consul.git
11 lines
449 B
Handlebars
11 lines
449 B
Handlebars
|
<div class="collapsible-notices {{if this.collapsed 'collapsed'}}">
|
||
|
<div class="notices">
|
||
|
{{yield}}
|
||
|
</div>
|
||
|
{{#if this.collapsed}}
|
||
|
<button type="button" class="expand" {{on 'click' (set this 'collapsed' false)}}>{{t "components.app.collapsible-notices.expand"}}</button>
|
||
|
{{else}}
|
||
|
<button type="button" class="collapse" {{on 'click' (set this 'collapsed' true)}}>{{t "components.app.collapsible-notices.collapse"}}</button>
|
||
|
{{/if}}
|
||
|
</div>
|