{% extends "theme_editor/base.html" %} {% load humanize %} {% load styled_forms %} {% load base_filters %} {% load theme_editor_tags %} {% load theme_editor_filters %} {% load uploader %} {% block title %}{{ block.super }}Theme Editor{% endblock %} {% block extra_head %} {{ block.super }} {% uploader_head %} {% endblock %} {% block content %}

{% trans "Theme Editor" %} : {{ SITE_GLOBAL_SITEURL }}

{% spaceless %}{% include "base/messages.html" %}{% endspaceless %} {% if current_file %}
{% if theme_read_only %}{% trans 'Currently Viewing' %}{% else %}{% trans "Currently Editing" %}{% endif %} {{ current_file_path }} in theme {{ current_theme }}
{% endif %}

{% if theme_read_only %}{% trans 'Currently viewing' %}{% else %}{% trans 'Currently editing' %}{% endif %}:

{{ theme_form.theme_edit }}
{% ifnotequal ACTIVE_THEME current_theme %}

{% blocktrans %}Preview {{ current_theme }} on your site{% endblocktrans %} »

{% endifnotequal %}

{% trans "Active theme:" %} {{ ACTIVE_THEME }}. {% if theme_count > 1 %} {% trans "Change" %} » {% endif %}

{% if theme_read_only %}{% trans "Choose a folder or file to view:" %}{% else %}{% trans "Choose a folder or file to edit:" %}{% endif %}

    {% for key,value in all_files_folders.items %} {% if value.items %} {% for key,value in value.items|sortcontents %} {% if key == "contents" %} {% for item in value %}
  • {% if item.editable %} {{ item.name }} {% else %} {{ item.name|safe }} K × {% endif %}
  • {% endfor %} {% else %} {% folder_structure value %} {% endif %} {% endfor %} {% endif %} {% endfor %}
{% if not theme_read_only %}

{% trans 'Customize more templates' %}:

{% trans "Copy down one of Tendenci's built-in app templates and customize it." %} {% trans "Customize more templates" %}

{% trans 'Create a new template' %}:

{% trans 'Click the button below to add a new template.' %}
{% endif %}
{% if is_file %}
{% csrf_token %} {% if file_form.content.errors and current_file %}
{{ file_form.content.errors }}
{% endif %}
{{ file_form.content }}
{% if not theme_read_only %} {% endif %}
{% if not theme_read_only %} {% if current_file not in non_deletable_files %} {% trans 'Delete this File' %} {% endif %}

{% trans "Previous Versions" %} ?

{% if archives %} {% else %}

{% trans "No versions available." %}

{% endif %}
{% endif %} {% else %}

{% trans "No file selected. Select a file or directory from the list on the right." %}

{% endif %}

{% trans 'Please enter a new theme name.' %}

{% trans 'Please enter template name.' %}

default- .html
{% endblock %} {% block extra_body %} {{ block.super }}
{% endblock %}