{% extends 'view_file_base.html' %} {% load i18n %} {% load url from future %} {% block extra_style %}{{block.super}} {% endblock %} {% block update_detail %} {% if last_commit_id %} {% trans "updated this file"%}, {% trans "Detail"%}. {% endif %} {% endblock %} {% block edit_file %} {% if file_perm == 'rw' and not err%} {% trans "Edit"%} {% endif %} {% endblock %} {% block file_view %} {% if encoding != None %}
{% endif %} {% ifnotequal file_content None %} {% endifnotequal %} {% endblock %} {% block extra_script %}{{ block.super }} {% if not err %} {% ifnotequal file_content None %} {% endifnotequal %} {% endif %} {% endblock%}