Use the user-badge component in the admin user badges page.

This commit is contained in:
Vikhyat Korrapati 2014-04-22 15:13:26 +05:30
parent 4e89b64e64
commit 0357370b0d
2 changed files with 3 additions and 4 deletions

View File

@ -27,8 +27,7 @@
<table>
<tr>
<th>{{i18n admin.badges.name}}</th>
<th>{{i18n admin.badges.badge_type}}</th>
<th>{{i18n admin.badges.badge}}</th>
<th>{{i18n admin.badges.granted_by}}</th>
<th>{{i18n admin.badges.granted_at}}</th>
<th></th>
@ -36,8 +35,7 @@
{{#each}}
<tr>
<td>{{badge.displayName}}</td>
<td>{{badge.badge_type.name}}</td>
<td>{{user-badge badge=badge}}</td>
<td>
{{#link-to 'adminUser' badge.granted_by}}
{{avatar granted_by imageSize="tiny"}}

View File

@ -1709,6 +1709,7 @@ en:
new_badge: New Badge
new: New
name: Name
badge: Badge
display_name: Display Name
description: Description
badge_type: Badge Type