{% extends "unfold_extra/filer/action_page.html" %} {% load i18n %} {% block content %} {% if perms_lacking %} {% blocktranslate asvar message %}Your account doesn't have permissions to rename all of the selected files.{% endblocktranslate %} {% include "unfold_extra/filer/helpers/action_notice.html" with message=message %} {% elif not to_rename %} {% blocktranslate asvar message %}There are no files available to rename.{% endblocktranslate %} {% include "unfold_extra/filer/helpers/action_notice.html" with message=message %} {% else %} {{ block.super }} {% endif %} {% endblock %} {% block heading %}{% blocktranslate %}The following files will be renamed (they will stay in their folders and keep original filename, only displayed filename will be changed):{% endblocktranslate %}{% endblock %} {% block objects %}{% endblock %} {% block action %}rename_files{% endblock %} {% block fields %}
{% include "unfold_extra/filer/helpers/action_form_fields.html" with form=rename_form %}
{% endblock %} {% block footnote %}

{% blocktranslate %}Rename format is in Python % operator format, using a dictionary of possible values:{% endblocktranslate %}

original_filename
original_basename
{% translate "Original filename without possible file extension." %}
original_extension
current_filename
current_basename
{% translate "Current filename without possible file extension." %}
current_extension
current_folder
{% translate "Name of the folder the file is currently in." %}
counter
{% translate "Renaming sequence counter in the current folder (1-based)." %}
global_counter
{% translate "Renaming sequence counter for all files currently renaming (1-based)." %}

{% translate "Examples:" %}

{% endblock %} {% block submit_row %} {% translate "Rename" as label %} {% include "unfold_extra/filer/helpers/action_submit_row.html" with label=label icon="edit" submit_class="w-full lg:w-auto" %} {% endblock %}