From 34da65d420f1de572a5a69cb4c3c31b89876d344 Mon Sep 17 00:00:00 2001 From: yangjian Date: Wed, 7 Apr 2021 22:50:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=96=87=E9=9B=86=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD=E9=80=89=E9=A1=B9=E7=8A=B6=E6=80=81=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 e75965e..00d0199 100644 --- a/template/app_doc/manage/manage_project_options.html +++ b/template/app_doc/manage/manage_project_options.html @@ -119,6 +119,7 @@ + {% if enable_project_report %}
{% load project_filter %} @@ -154,19 +155,17 @@ {% if pro.id|report_status_pdf == 1 %} checked {%endif%} lay-skin="switch" lay-text="{% trans '允许|禁止' %}"> - {% if enable_project_report %} - {% trans "生成或更新PDF文件" %} - {% if project_files %} - {% for file in project_files %} - {% if file.file_type == 'pdf' %} - | {% trans "下载文集PDF文件" %} - {% else %} - - {% endif %} - {% endfor %} - {% else %} - | {% trans "未生成文集导出文件" %} - {% endif %} + {% trans "生成或更新PDF文件" %} + {% if project_files %} + {% for file in project_files %} + {% if file.file_type == 'pdf' %} + | {% trans "下载文集PDF文件" %} + {% else %} + + {% endif %} + {% endfor %} + {% else %} + | {% trans "未生成文集导出文件" %} {% endif %}
@@ -179,6 +178,7 @@ + {% endif %}