{% 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 %}
{% if is_file %}
{% if not theme_read_only %}
{% if current_file not in non_deletable_files %}
{% trans 'Delete this File' %}
{% endif %}
{% trans "Previous Versions" %} ?{% if archives %}
{% for archive in archives %}
{% endfor %}
{% else %}
{% trans "No versions available." %} {% endif %}{% trans "No file selected. Select a file or directory from the list on the right." %} {% endif %} |
{% if theme_read_only %}{% trans 'Currently viewing' %}{% else %}{% trans 'Currently editing' %}{% endif %}:{% if ACTIVE_THEME != current_theme %}{% trans "Preview" %} {{ current_theme }} {% trans "on your site" %} » {% else %}{% trans "View" %} {{ current_theme }} {% trans "on your site" %} » {% endif %} {% if can_copy_theme %} {% endif %} {% if not theme_read_only %} {% trans 'Delete' %} {% endif %}{% 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 %}
{% if pwd|length > 20 %}
{% endif %}
{% if prev_dir %}
{% blocktrans with pwd|slice:"-20:" as pslice %}in ...{{ pslice }}{% endblocktrans %} {% else %}{% blocktrans %}in {{ pwd }}{% endblocktrans %} {% endif %}« {% blocktrans %}back to {{ prev_dir_name }}{% endblocktrans %} {% endif %} {% if dirs %}
{% trans "This folder is empty" %} {% endif %} {% endcomment %}{% 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.' %} |
{% trans 'Please enter a new theme name.' %}
{% trans 'Please enter template name.' %}