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

View file

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