discourse/app/assets/javascripts/admin/templates/api.js.handlebars

10 lines
399 B
Handlebars
Raw Normal View History

2013-05-08 03:13:10 -04:00
<h3>{{i18n admin.api.long_title}}</h3>
2013-03-25 21:04:28 -04:00
{{#if content.keyExists}}
2013-05-08 03:13:10 -04:00
<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>
2013-03-25 21:04:28 -04:00
{{else}}
2013-05-08 03:13:10 -04:00
<p>{{{i18n admin.api.info_html}}}</p>
<button {{action generateKey target="content"}}>{{i18n admin.api.generate}}</button>
2013-03-25 21:04:28 -04:00
{{/if}}