Change naming, make more general
This commit is contained in:
parent
01855f315c
commit
e86af0c965
5 changed files with 17 additions and 20 deletions
|
@ -12,21 +12,21 @@
|
|||
{{ $t('timeline.error_fetching') }}
|
||||
</div>
|
||||
<div
|
||||
v-else-if="error403"
|
||||
v-else-if="errorData"
|
||||
class="loadmore-error alert error"
|
||||
@click.prevent
|
||||
>
|
||||
{{ $t('timeline.error_403') }}
|
||||
</div>
|
||||
<button
|
||||
v-if="timeline.newStatusCount > 0 && !timelineError && !error403"
|
||||
v-if="timeline.newStatusCount > 0 && !timelineError && !errorData"
|
||||
class="loadmore-button"
|
||||
@click.prevent="showNewStatuses"
|
||||
>
|
||||
{{ $t('timeline.show_new') }}{{ newStatusCountStr }}
|
||||
</button>
|
||||
<div
|
||||
v-if="!timeline.newStatusCount > 0 && !timelineError && !error403"
|
||||
v-if="!timeline.newStatusCount > 0 && !timelineError && !errorData"
|
||||
class="loadmore-text faint"
|
||||
@click.prevent
|
||||
>
|
||||
|
@ -74,17 +74,17 @@
|
|||
{{ $t('timeline.no_more_statuses') }}
|
||||
</div>
|
||||
<a
|
||||
v-else-if="!timeline.loading && !error403"
|
||||
v-else-if="!timeline.loading && !errorData"
|
||||
href="#"
|
||||
@click.prevent="fetchOlderStatuses()"
|
||||
>
|
||||
<div class="new-status-notification text-center panel-footer">{{ $t('timeline.load_older') }}</div>
|
||||
</a>
|
||||
<a
|
||||
v-else-if="error403"
|
||||
v-else-if="errorData"
|
||||
href="#"
|
||||
>
|
||||
<div class="new-status-notification text-center panel-footer">{{ error403 }}</div>
|
||||
<div class="new-status-notification text-center panel-footer">{{ errorData }}</div>
|
||||
</a>
|
||||
<div
|
||||
v-else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue