add glyphs to user page API buttons

This commit is contained in:
Jeff Atwood 2014-05-17 01:02:30 -07:00
parent 5cd588c375
commit 3793a2e06d
2 changed files with 5 additions and 5 deletions

View File

@ -168,15 +168,15 @@
{{#if api_key}}
<div class='long-value'>
{{api_key.key}}
<button class='btn' {{action regenerateApiKey}}>{{i18n admin.api.regenerate}}</button>
<button {{action revokeApiKey}} class="btn">{{i18n admin.api.revoke}}</button>
<button class='btn' {{action regenerateApiKey}}><i class="fa fa-undo"></i>{{i18n admin.api.regenerate}}</button>
<button {{action revokeApiKey}} class="btn"><i class="fa fa-times"></i>{{i18n admin.api.revoke}}</button>
</div>
{{else}}
<div class='value'>
&mdash;
</div>
<div class='controls'>
<button {{action generateApiKey}} class="btn">{{i18n admin.api.generate}}</button>
<button {{action generateApiKey}} class="btn"><i class="fa fa-key"></i>{{i18n admin.api.generate}}</button>
</div>
{{/if}}
</div>

View File

@ -1704,8 +1704,8 @@ en:
one: "Can't delete all posts. Some posts are older than %{count} day old. (The delete_user_max_post_age setting.)"
other: "Can't delete all posts. Some posts are older than %{count} days old. (The delete_user_max_post_age setting.)"
cant_delete_all_too_many_posts:
one: "Can't delete all posts because the user has more than 1 post. (The delete_all_posts_max setting.)"
other: "Can't delete all posts because the user has more than %{count} posts. (The delete_all_posts_max setting.)"
one: "Can't delete all posts because the user has more than 1 post. (delete_all_posts_max)"
other: "Can't delete all posts because the user has more than %{count} posts. (delete_all_posts_max)"
delete_confirm: "Are you SURE you want to delete this user? This action is permanent!"
delete_and_block: "<b>Yes</b>, and <b>block</b> future signups from this email and IP address"
delete_dont_block: "<b>Yes</b>, just delete the user"