mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-26 22:29:28 +09:00
✌️
This commit is contained in:
parent
d3639b2df4
commit
15c94f6b81
@ -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>
|
||||||
<div class="status">
|
<div class="status">
|
||||||
<a>
|
<a>
|
||||||
<b>{{ user.posts_count }}</b>
|
<b>{{ user.posts_count | number }}</b>
|
||||||
<i>%i18n:mobile.tags.mk-user.posts%</i>
|
<i>%i18n:mobile.tags.mk-user.posts%</i>
|
||||||
</a>
|
</a>
|
||||||
<a :href="`${user.username}/following`">
|
<a :href="`${user.username}/following`">
|
||||||
<b>{{ user.following_count }}</b>
|
<b>{{ user.following_count | number }}</b>
|
||||||
<i>%i18n:mobile.tags.mk-user.following%</i>
|
<i>%i18n:mobile.tags.mk-user.following%</i>
|
||||||
</a>
|
</a>
|
||||||
<a :href="`${user.username}/followers`">
|
<a :href="`${user.username}/followers`">
|
||||||
<b>{{ user.followers_count }}</b>
|
<b>{{ user.followers_count | number }}</b>
|
||||||
<i>%i18n:mobile.tags.mk-user.followers%</i>
|
<i>%i18n:mobile.tags.mk-user.followers%</i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user