{% extends "base.html" %} {% block title %}{{ file_name }} - Yaffo{% endblock %} {% block extra_styles %} {% endblock %} {% from "components/modal.html" import render_modal %} {% block content %}
{% if media_item.media_type == 'video' and not file_exists %}

{{ _("This video is no longer available on disk.") }}

{{ file_name }}

{% elif media_item.media_type == 'video' and not playable %} {# Poster rendered like a photo so the container hugs it and the favorite heart lands on its corner; the "can't play" notice + open-externally action overlay the bottom of the poster. #} {{ file_name }}
{{ _("This format can't play in the browser.") }}
{% elif media_item.media_type == 'video' %} {% else %} {{ file_name }} {% endif %} {% if media_item.media_type != 'video' %} {% endif %}
{% macro render_modal_edit_tags_form() %}

{{ _("Add New Tag") }}

{% endmacro %} {{ render_modal('tagsModal', _("Edit Tags"), "", render_modal_edit_tags_form, _("Save Changes"), "btn-primary", size_class="modal-lg", posts=false) }} {% endblock %} {% block scripts %} {% endblock %}