Merge branch 'feature/download-suffix-20170309' into travis

# Conflicts:
#	cps/templates/detail.html
This commit is contained in:
林檎 2017-03-09 12:38:55 +08:00
commit 2ef4933f7a

View File

@ -126,7 +126,7 @@
</button>
<ul class="dropdown-menu" aria-labelledby="btnGroupDrop1">
{% for format in entry.data %}
<li><a href="{{ url_for('get_download_link_ext', book_id=entry.id, format=format.format|lower, anyname=entry.title+'.'+format.format) }}">{{format.format}}</a></li>
<li><a href="{{ url_for('get_download_link_ext', book_id=entry.id, format=format.format|lower, anyname=entry.id|string+'.'+format.format) }}">{{format.format}}</a></li>
{%endfor%}
</ul>
</div>