|
|
|
@ -10,18 +10,23 @@ include section-title
|
|
|
|
|
return (value < 1000) ? numeral(value).format('0,0') : numeral(value).format('0,0.0a');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function displayIntegerValue (value) {
|
|
|
|
|
return numeral(value).format(value > 1000 ? '0,0.0a' : '0,0');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
mixin renderCell (label, value, className)
|
|
|
|
|
div(title=`${label}: ${numeral(value).format('0,0')}`).uk-tile.uk-tile-default.uk-padding-remove.no-select
|
|
|
|
|
div(class=className)= value
|
|
|
|
|
.uk-text-muted.uk-text-small= label
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
function displayIntegerValue (value) {
|
|
|
|
|
return numeral(value).format(value > 1000 ? '0,0.0a' : '0,0');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
mixin renderBackButton ( )
|
|
|
|
|
button(type="button", onclick="window.history.back();").uk-button.uk-button-default
|
|
|
|
|
span
|
|
|
|
|
i.fas.fa-chevron-left
|
|
|
|
|
span(class="uk-visible@s").uk-margin-small-left Back
|
|
|
|
|
span(class="uk-visible@s").uk-margin-small-left Back
|
|
|
|
|
|
|
|
|
|
mixin renderUserLink (user)
|
|
|
|
|
if user.coreUserId
|
|
|
|
|
a(href=`/user/core/${user._id}`)= `${user.username}@${user.core.meta.domainKey}`
|
|
|
|
|
else
|
|
|
|
|
a(href=`/user/${user._id}`)= user.displayName || user.username
|