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 %}