mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-18 11:32:24 -05:00
13 lines
419 B
Handlebars
13 lines
419 B
Handlebars
<h3>{{i18n admin.api.long_title}}</h3>
|
|
{{#if keyExists}}
|
|
<strong>{{i18n admin.api.key}}:</strong> {{key}}
|
|
<button class='btn' {{action regenerateKey target="model"}}>
|
|
{{i18n admin.api.regenerate}}
|
|
</button>
|
|
<p>{{{i18n admin.api.note_html}}}</p>
|
|
{{else}}
|
|
<p>{{{i18n admin.api.info_html}}}</p>
|
|
<button class='btn' {{action generateKey target="model"}}>
|
|
{{i18n admin.api.generate}}
|
|
</button>
|
|
{{/if}}
|