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

# Conflicts:
#	cps/templates/detail.html
pull/152/head^2^2
林檎 8 years ago
commit 2ef4933f7a

@ -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>

Loading…
Cancel
Save