This repository has been archived on 2025-05-04. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
discourse/app/assets/javascripts/admin/templates/api.js.handlebars

14 lines
419 B
Handlebars
Raw Normal View History

2013-05-08 09:13:10 +02:00
<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>
2013-05-08 09:13:10 +02:00
<p>{{{i18n admin.api.note_html}}}</p>
2013-03-25 18:04:28 -07:00
{{else}}
2013-05-08 09:13:10 +02:00
<p>{{{i18n admin.api.info_html}}}</p>
<button class='btn' {{action generateKey target="model"}}>
{{i18n admin.api.generate}}
</button>
2013-03-25 18:04:28 -07:00
{{/if}}