diff options
| author | Shpuld Shpludson <shp@cock.li> | 2019-02-21 17:24:39 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2019-02-21 17:24:39 +0000 |
| commit | c3fa2c90e2e09619ddc72d2c19ea223d49c9d349 (patch) | |
| tree | 8887a68b286fdb5c9c22d44a215074cf1df44c7d /src/components/timeline/timeline.vue | |
| parent | 254b0afab747ad6e67b675bdf233b9dfcbc59f0b (diff) | |
| parent | e20a7be3aa4973400cd670347ff038a78eb12e4e (diff) | |
Merge branch 'issue-376-no-statuses' into 'develop'
#376: update status timeline when it's empty
Closes #376
See merge request pleroma/pleroma-fe!601
Diffstat (limited to 'src/components/timeline/timeline.vue')
| -rw-r--r-- | src/components/timeline/timeline.vue | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue index e3eea3bd..8f28d65c 100644 --- a/src/components/timeline/timeline.vue +++ b/src/components/timeline/timeline.vue @@ -20,7 +20,10 @@ </div> </div> <div :class="classes.footer"> - <div v-if="bottomedOut" class="new-status-notification text-center panel-footer faint"> + <div v-if="count===0" class="new-status-notification text-center panel-footer faint"> + {{$t('timeline.no_statuses')}} + </div> + <div v-else-if="bottomedOut" class="new-status-notification text-center panel-footer faint"> {{$t('timeline.no_more_statuses')}} </div> <a v-else-if="!timeline.loading" href="#" v-on:click.prevent='fetchOlderStatuses()'> |
