Fix statistics view

This commit is contained in:
Georg Krause 2021-11-17 15:20:45 +01:00
parent 58df0d4529
commit 0578d18cd9
No known key found for this signature in database
GPG Key ID: FD479B9A4D48E632
1 changed files with 15 additions and 13 deletions

View File

@ -68,14 +68,15 @@
<template v-if="stats"> <template v-if="stats">
<div class="statistics-container ui doubling grid"> <div class="statistics-container ui doubling grid">
<div class="ui six wide column"> <div class="two column row">
<div class="column">
<span class="statistics-figure ui text"> <span class="statistics-figure ui text">
<span class="ui big text"><strong>{{ stats.users.toLocaleString($store.state.ui.momentLocale) }}</strong></span> <span class="ui big text"><strong>{{ stats.users.toLocaleString($store.state.ui.momentLocale) }}</strong></span>
<br /> <br />
<translate translate-context="Content/About/*" :translate-n="stats.users" translate-plural="active users">active user</translate> <translate translate-context="Content/About/*" :translate-n="stats.users" translate-plural="active users">active user</translate>
</span> </span>
</div> </div>
<div class="ui six wide column"> <div class="column">
<span class="statistics-figure ui text"> <span class="statistics-figure ui text">
<span class="ui big text"><strong>{{ parseInt(stats.hours).toLocaleString($store.state.ui.momentLocale) }}</strong></span> <span class="ui big text"><strong>{{ parseInt(stats.hours).toLocaleString($store.state.ui.momentLocale) }}</strong></span>
<br /> <br />
@ -83,6 +84,7 @@
</span> </span>
</div> </div>
</div> </div>
</div>
</template> </template>
<router-link to="/about/pod" class="ui fluid basic secondary button"> <router-link to="/about/pod" class="ui fluid basic secondary button">