This commit is contained in:
parent
d3639b2df4
commit
15c94f6b81
|
@ -1 +0,0 @@
|
|||
require('./bytes');
|
|
@ -0,0 +1,2 @@
|
|||
require('./bytes');
|
||||
require('./number');
|
|
@ -0,0 +1,5 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
Vue.filter('number', (n) => {
|
||||
return n.toLocaleString();
|
||||
});
|
|
@ -27,15 +27,15 @@
|
|||
</div>
|
||||
<div class="status">
|
||||
<a>
|
||||
<b>{{ user.posts_count }}</b>
|
||||
<b>{{ user.posts_count | number }}</b>
|
||||
<i>%i18n:mobile.tags.mk-user.posts%</i>
|
||||
</a>
|
||||
<a :href="`${user.username}/following`">
|
||||
<b>{{ user.following_count }}</b>
|
||||
<b>{{ user.following_count | number }}</b>
|
||||
<i>%i18n:mobile.tags.mk-user.following%</i>
|
||||
</a>
|
||||
<a :href="`${user.username}/followers`">
|
||||
<b>{{ user.followers_count }}</b>
|
||||
<b>{{ user.followers_count | number }}</b>
|
||||
<i>%i18n:mobile.tags.mk-user.followers%</i>
|
||||
</a>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue