mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-30 20:29:13 +01:00
✌️
This commit is contained in:
parent
d3639b2df4
commit
15c94f6b81
5 changed files with 10 additions and 4 deletions
|
@ -1 +0,0 @@
|
|||
require('./bytes');
|
2
src/web/app/common/views/filters/index.ts
Normal file
2
src/web/app/common/views/filters/index.ts
Normal file
|
@ -0,0 +1,2 @@
|
|||
require('./bytes');
|
||||
require('./number');
|
5
src/web/app/common/views/filters/number.ts
Normal file
5
src/web/app/common/views/filters/number.ts
Normal file
|
@ -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 a new issue