mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
Use the user-badge component in the admin user badges page.
This commit is contained in:
parent
4e89b64e64
commit
0357370b0d
2 changed files with 3 additions and 4 deletions
|
@ -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"}}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue