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

12 lines
548 B
Handlebars
Raw Normal View History

2013-03-25 21:04:28 -04:00
<!-- Hold off on localizing for a few days while I finalize this page -->
<h3>API Information</h3>
{{#if content.keyExists}}
2013-04-15 18:04:12 -04:00
<strong>Key:</strong> {{content.key}} <button {{action regenerateKey target="content"}}>Regenerate API Key</button>
2013-03-25 21:04:28 -04:00
<p>Keep this key <strong>secret</strong>, all users that have it may create arbirary posts on the forum as any user.</p>
{{else}}
<p>Your API key will allow you to create and update topics using JSON calls.</p>
<button {{action generateKey target="content"}}>Generate API Key</button>
{{/if}}
</p>