2021-03-17 14:40:56 +00:00
|
|
|
<div class="certificate">
|
|
|
|
<CopyButton @value={{@item}} @name={{@name}} />
|
|
|
|
<button
|
|
|
|
type="button"
|
|
|
|
class={{concat "visibility" (if this.show " hide" " show")}}
|
|
|
|
{{on "click" this.setVisibility}}
|
|
|
|
>
|
|
|
|
</button>
|
|
|
|
{{#if this.show}}
|
2021-03-18 15:18:23 +00:00
|
|
|
<code>{{@item}}</code>
|
2021-03-17 14:40:56 +00:00
|
|
|
{{else}}
|
|
|
|
<hr />
|
|
|
|
{{/if}}
|
|
|
|
</div>
|