mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 03:33:58 -06:00
Allow specifying URLs as badge certificates.
This commit is contained in:
parent
e0fd1f6f5e
commit
fcfc6177c2
@ -2,6 +2,8 @@
|
||||
<span {{bind-attr class=":user-badge badgeTypeClassName" data-badge-name="badge.name" title="badge.displayDescription"}}>
|
||||
{{#if isIcon}}
|
||||
<i {{bind-attr class=":fa badge.icon"}}></i>
|
||||
{{else}}
|
||||
<img {{bind-attr src="badge.icon"}}>
|
||||
{{/if}}
|
||||
{{badge.displayName}}
|
||||
{{#if showGrantCount}}
|
||||
|
@ -16,6 +16,11 @@
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
img {
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
}
|
||||
|
||||
&.badge-type-gold .fa {
|
||||
color: #ffd700;
|
||||
}
|
||||
@ -46,6 +51,12 @@
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
img {
|
||||
display: inline-block;
|
||||
width: 55px;
|
||||
height: 55px;
|
||||
}
|
||||
|
||||
.count {
|
||||
display: block;
|
||||
font-size: 0.8em;
|
||||
|
Loading…
Reference in New Issue
Block a user