diff --git a/assets/images/project_not_found.jpg b/assets/images/project_not_found.jpg deleted file mode 100644 index 65bfcbf0ba70ae5d9fa17f1a4820d582845ce217..0000000000000000000000000000000000000000 Binary files a/assets/images/project_not_found.jpg and /dev/null differ diff --git a/templates/capsule/index.html.twig b/templates/capsule/index.html.twig index 242a6fcc6e0baad08c710becfdd4e2abad63be07..1442cfc6683a2c0a462a37091ec56f55dee2aa61 100644 --- a/templates/capsule/index.html.twig +++ b/templates/capsule/index.html.twig @@ -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 %}