discourse/app/assets/javascripts/admin/templates/api.js.handlebars
2013-05-08 09:13:10 +02:00

10 lines
399 B
Handlebars

<h3>{{i18n admin.api.long_title}}</h3>
{{#if content.keyExists}}
<strong>{{i18n admin.api.key}}:</strong> {{content.key}}
<button {{action regenerateKey target="content"}}>{{i18n admin.api.regenerate}}</button>
<p>{{{i18n admin.api.note_html}}}</p>
{{else}}
<p>{{{i18n admin.api.info_html}}}</p>
<button {{action generateKey target="content"}}>{{i18n admin.api.generate}}</button>
{{/if}}