mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-05-02 08:54:02 -04:00
Merge pull request #913 from chrishunt/chrishunt/style-api-button
Add styling to 'Generate API Key' button
This commit is contained in:
commit
fc7fefb581
1 changed files with 6 additions and 2 deletions
|
@ -1,9 +1,13 @@
|
||||||
<h3>{{i18n admin.api.long_title}}</h3>
|
<h3>{{i18n admin.api.long_title}}</h3>
|
||||||
{{#if keyExists}}
|
{{#if keyExists}}
|
||||||
<strong>{{i18n admin.api.key}}:</strong> {{key}}
|
<strong>{{i18n admin.api.key}}:</strong> {{key}}
|
||||||
<button {{action regenerateKey target="model"}}>{{i18n admin.api.regenerate}}</button>
|
<button class='btn' {{action regenerateKey target="model"}}>
|
||||||
|
{{i18n admin.api.regenerate}}
|
||||||
|
</button>
|
||||||
<p>{{{i18n admin.api.note_html}}}</p>
|
<p>{{{i18n admin.api.note_html}}}</p>
|
||||||
{{else}}
|
{{else}}
|
||||||
<p>{{{i18n admin.api.info_html}}}</p>
|
<p>{{{i18n admin.api.info_html}}}</p>
|
||||||
<button {{action generateKey target="model"}}>{{i18n admin.api.generate}}</button>
|
<button class='btn' {{action generateKey target="model"}}>
|
||||||
|
{{i18n admin.api.generate}}
|
||||||
|
</button>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue