{% extends 'view_file_base.html' %}
{% load i18n %}
{% load url from future %}

{% block file_view %}
{% if not err %}
 <iframe id="viewer" src="{{MEDIA_URL}}js/Viewer.js/index.html#{% url 'view_raw_file' repo.id path|urlencode%}" style="width:95%;height:600px;border:0;margin:0 auto;" allowfullscreen webkitallowfullscreen></iframe>
{% endif %}
{% endblock %}

