mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-24 09:41:04 +00:00
14 lines
566 B
HTML
14 lines
566 B
HTML
{% load i18n %}
|
|
{% if filetype == 'Text' or filetype == 'Sf' or filetype == 'Markdown' %}
|
|
{% if encoding != None %}
|
|
<div id="file-enc-cont">
|
|
<label for="file-enc">{% trans "Encoding:" %}</label>
|
|
<select id="file-enc">
|
|
{% for enc in file_encoding_list %}
|
|
<option value="{{ enc }}" {% if encoding and encoding == enc %} selected="selected" {% endif %}>{% if enc == 'auto'%}{% trans "auto detect" %}{% else %}{{ enc }}{% endif %}</option>
|
|
{% endfor %}
|
|
</select>
|
|
</div>
|
|
{% endif %}
|
|
{% endif %}
|