Show number of grants on the admin badge pages.

This commit is contained in:
Vikhyat Korrapati 2014-06-28 01:21:41 +05:30
parent 0d16ae0ecf
commit 228a2a8992
2 changed files with 12 additions and 0 deletions

View file

@ -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}}

View file

@ -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;