Skip to content
Snippets Groups Projects
Commit 3a714470 authored by Sebastien's avatar Sebastien
Browse files

Remove unnecessary image for a project not found

parent 34fe66ef
No related branches found
No related tags found
1 merge request!95Fix shared link and embbed link on project edition settings
assets/images/project_not_found.jpg

4.81 KiB

......@@ -63,7 +63,9 @@
<div class="d-flex flex-column flex-xl-row justify-content-center align-items-center">
<div class="m-4 ratio ratio-16x9">
{% if capsule.getVideoPreviewImageLink(http_client) is null %}
<img src="{{ asset('build/images/project_not_found.jpg') }}" alt="video preview">
<div class="m-auto d-flex flex-row align-items-center justify-content-center mb-5 alert alert-warning rounded-0" role="status">
<span class="p-5">{{ 'project.not_exist' | trans }}</span>
</div>
{% else %}
<img src="{{ capsule.getVideoPreviewImageLink(http_client) }}" alt="video preview">
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment