<span>{% trans "updated this file"%}, <aclass="file-diff"href="{% url 'text_diff' repo.id %}?p={{path|urlencode}}&commit={{last_commit_id}}&file_enc={{file_enc}}">{% trans "Detail"%}</a>.</span>
{% endif %}
{% endblock %}
{% block edit_file %}
{% if user_perm == 'rw' and not err%}
<buttondata="{{ SITE_ROOT }}repo/{{ repo.id }}/file/edit/?p={{ path }}&file_enc={{file_enc}}"id="edit">{% trans "Edit"%}</button>
{% endif %}
{% endblock %}
{% block file_view %}
{% if encoding != None %}
<divid="file-enc-cont">
<labelfor="file-enc">{% trans "Encoding:" %}</label>
<selectid="file-enc">
{% for enc in file_encoding_list %}
<optionvalue="{{ enc }}"{%ifencodingandencoding ==enc%}selected="selected"{%endif%}>{% if enc == 'auto'%}{% trans "auto detect" %}{% else %}{{ enc }}{% endif %}</option>