From 3c2d5519e5f3ef017c445ece3bb5211982e079d4 Mon Sep 17 00:00:00 2001 From: yangjian Date: Sat, 2 May 2020 21:17:15 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=89=8D=E7=AB=AF=E6=96=87?= =?UTF-8?q?=E9=9B=86=E4=B8=8B=E8=BD=BD=E6=98=BE=E7=A4=BA=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/app_doc/project.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/template/app_doc/project.html b/template/app_doc/project.html index 5c7acb6..c45481a 100644 --- a/template/app_doc/project.html +++ b/template/app_doc/project.html @@ -81,10 +81,12 @@ {% if allow_download.allow_pdf == 1 %} PDF电子书 {% endif %} + {% if allow_download.allow_pdf == 0 and allow_download.allow_epub == 0 %} + 文集作者未开放此文集的任何格式下载! + {% endif %} {% else %} 文集作者未开放此文集的任何格式下载! {% endif %} -