mirror of https://github.com/hashicorp/consul
14 lines
298 B
Handlebars
14 lines
298 B
Handlebars
<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}}
|
|
<code>{{@item}}</code>
|
|
{{else}}
|
|
<hr />
|
|
{{/if}}
|
|
</div> |