diff options
| author | dave <starpumadev@gmail.com> | 2019-02-20 10:13:28 -0500 |
|---|---|---|
| committer | dave <starpumadev@gmail.com> | 2019-02-20 10:13:28 -0500 |
| commit | e20a7be3aa4973400cd670347ff038a78eb12e4e (patch) | |
| tree | 323201d9bfb51d66f8c133050cbd0e6dc752434e /src/components/timeline/timeline.vue | |
| parent | cfdd885e041d69262e5a0aaaac8de1f39a926484 (diff) | |
#376: update status timeline when it's empty
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()'> |
