Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#307 Страницы ошибок 403, 404 #320

Merged
merged 2 commits into from
Jan 12, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions src/components/Event.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,20 @@
<b-col cols="12" md="8">

<div v-if="errorResponse">
<p class="text-error" v-if="errorResponse.status === 403">
Доступ к информации по данному событию ограничен, пожалуйста, пройдите процедуру авторизации.
<a href="https://goo.gl/forms/i48vp55kTjL2d9Wk1" target="_blank">Служба поддежки.</a>
</p>
<p class="text-error" v-if="errorResponse.status === 404">
<div v-if="errorResponse.status === 403" class="text-error">
<p>
Доступ к информации по данному событию ограничен, пожалуйста, пройдите
<router-link :to="{name: 'UserAuthentication'}">процедуру авторизации</router-link>.
</p>
<p class="text-center">
<a href="https://goo.gl/forms/i48vp55kTjL2d9Wk1" target="_blank">Служба поддержки</a>
</p>
</div>
<div v-if="errorResponse.status === 404" class="text-error">
Данного события не существует.
Пожалуйста, посмотрите, <router-link :to="{name: 'Mainpage'}">последние землетрясения</router-link>
или выполните <router-link :to="{name: 'Events'}">поиск в архиве.</router-link>
</p>
или выполните <router-link :to="{name: 'Events'}">поиск в архиве</router-link>.
</div>
</div>

<keep-alive>
Expand Down