From 70ecdd2e6aa72b9bcadbf9f6370251070f66f81c Mon Sep 17 00:00:00 2001 From: yangjian Date: Tue, 23 Mar 2021 19:00:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=90=8E=E5=8F=B0=E6=96=87?= =?UTF-8?q?=E9=9B=86=E4=B8=8B=E8=BD=BD=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../manage/manage_project_options.html | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/template/app_doc/manage/manage_project_options.html b/template/app_doc/manage/manage_project_options.html index b77ad11..e75965e 100644 --- a/template/app_doc/manage/manage_project_options.html +++ b/template/app_doc/manage/manage_project_options.html @@ -26,7 +26,9 @@
@@ -130,19 +132,17 @@ {% if pro.id|report_status_epub == 1 %} checked {% endif %} lay-skin="switch" lay-text="{% trans '允许|禁止' %}"> - {% if enable_project_report %} - {% trans "生成或更新EPUB文件" %} - {% if project_files %} - {% for file in project_files %} - {% if file.file_type == 'epub' %} - | {% trans "下载文集EPUB文件" %} - {% else %} - - {% endif %} - {% endfor %} - {% else %} - | {% trans "未生成文集导出文件" %} - {% endif %} + {% trans "生成或更新EPUB文件" %} + {% if project_files %} + {% for file in project_files %} + {% if file.file_type == 'epub' %} + | {% trans "下载文集EPUB文件" %} + {% else %} + + {% endif %} + {% endfor %} + {% else %} + | {% trans "未生成文集导出文件" %} {% endif %}