forked from mirror/MrDoc
调整前端文集下载显示判断
This commit is contained in:
parent
7382b8bbbb
commit
3c2d5519e5
@ -81,10 +81,12 @@
|
|||||||
{% if allow_download.allow_pdf == 1 %}
|
{% if allow_download.allow_pdf == 1 %}
|
||||||
<a href="javascript:void(0);" onclick="reportFile('{{project.id}}','pdf')"><i class="fa fa-download"></i> <u>PDF电子书</u></a>
|
<a href="javascript:void(0);" onclick="reportFile('{{project.id}}','pdf')"><i class="fa fa-download"></i> <u>PDF电子书</u></a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if allow_download.allow_pdf == 0 and allow_download.allow_epub == 0 %}
|
||||||
|
<a>文集作者未开放此文集的任何格式下载!</a>
|
||||||
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<a>文集作者未开放此文集的任何格式下载!</a>
|
<a>文集作者未开放此文集的任何格式下载!</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<!--<a href=""><i class="fa fa-download"></i> <u>DOCX文档</u></a>-->
|
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user