This commit is contained in:
parent
2fcc3bb1ea
commit
d8ff37fc45
|
@ -258,6 +258,7 @@ common/views/widgets/posts-monitor.vue:
|
||||||
common/views/widgets/hashtags.vue:
|
common/views/widgets/hashtags.vue:
|
||||||
title: "ハッシュタグ"
|
title: "ハッシュタグ"
|
||||||
count: "{}人が投稿"
|
count: "{}人が投稿"
|
||||||
|
empty: "トレンドなし"
|
||||||
|
|
||||||
common/views/widgets/server.vue:
|
common/views/widgets/server.vue:
|
||||||
title: "サーバー情報"
|
title: "サーバー情報"
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
<div class="mkw-hashtags--body" :data-mobile="platform == 'mobile'">
|
<div class="mkw-hashtags--body" :data-mobile="platform == 'mobile'">
|
||||||
<p class="fetching" v-if="fetching">%fa:spinner .pulse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
<p class="fetching" v-if="fetching">%fa:spinner .pulse .fw%%i18n:common.loading%<mk-ellipsis/></p>
|
||||||
|
<p class="empty" v-else-if="stats.length == 0">%fa:exclamation-circle%%i18n:@empty%<mk-ellipsis/></p>
|
||||||
<transition-group v-else tag="div" name="chart">
|
<transition-group v-else tag="div" name="chart">
|
||||||
<div v-for="stat in stats" :key="stat.tag">
|
<div v-for="stat in stats" :key="stat.tag">
|
||||||
<div class="tag">
|
<div class="tag">
|
||||||
|
@ -65,6 +66,7 @@ export default define({
|
||||||
root(isDark)
|
root(isDark)
|
||||||
.mkw-hashtags--body
|
.mkw-hashtags--body
|
||||||
> .fetching
|
> .fetching
|
||||||
|
> .empty
|
||||||
margin 0
|
margin 0
|
||||||
padding 12px 16px
|
padding 12px 16px
|
||||||
text-align center
|
text-align center
|
||||||
|
|
Loading…
Reference in New Issue