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>
|
<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"}}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue