{# Copyright 2020 Karlsruhe Institute of Technology # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. #} {% extends "records/manage_file_base.html" %} {% block content %}
{% include "records/snippets/manage_file_menu.html" %}
{{ file.name }}
{{ file.size | filesizeformat }}
{{ file.mimetype | truncate(50, True) }}

{% trans %}Persistent ID{% endtrans %}: {{ file.id }}

{% trans %}Created by{% endtrans %}
{% trans %}Created at{% endtrans %} ()
{% trans %}Last modified at{% endtrans %} ()

{{ template_hook("kadi_get_preview_components", file=file) }}
{% trans %}Note that preview data may be truncated.{% endtrans %}
{% trans %}No preview available.{% endtrans %}
{% endblock %} {% block scripts %} {{ render_js("app/records/view-file.js")}} {% endblock %}