mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-14 00:50:14 -04:00
Show number of grants on the admin badge pages.
This commit is contained in:
parent
0d16ae0ecf
commit
228a2a8992
2 changed files with 12 additions and 0 deletions
|
@ -79,6 +79,12 @@
|
|||
{{/unless}}
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="span13 current-badge-actions">
|
||||
<div>
|
||||
{{#link-to 'badges.show' this classNames="btn btn-primary"}}{{i18n badges.granted count=grant_count}}{{/link-to}}
|
||||
</div>
|
||||
</div>
|
||||
{{/with}}
|
||||
{{/if}}
|
||||
|
||||
|
|
|
@ -403,6 +403,12 @@ section.details {
|
|||
}
|
||||
}
|
||||
|
||||
.current-badge-actions {
|
||||
margin: 10px;
|
||||
padding: 10px;
|
||||
border-top: 1px solid scale-color($primary, $lightness: 80%);
|
||||
}
|
||||
|
||||
.buttons {
|
||||
float: left;
|
||||
width: 200px;
|
||||
|
|
Loading…
Reference in a new issue