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

10 lines
379 B
Handlebars
Raw Normal View History

2013-05-08 03:13:10 -04:00
<h3>{{i18n admin.api.long_title}}</h3>
{{#if keyExists}}
<strong>{{i18n admin.api.key}}:</strong> {{key}}
<button {{action regenerateKey target="model"}}>{{i18n admin.api.regenerate}}</button>
2013-05-08 03:13:10 -04:00
<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="model"}}>{{i18n admin.api.generate}}</button>
2013-03-25 21:04:28 -04:00
{{/if}}