Skip to content

Commit

Permalink
publication_list: update the download texts of full text.
Browse files Browse the repository at this point in the history
  • Loading branch information
xuhdev committed Feb 11, 2016
1 parent 5950b25 commit 07ffbe8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions v7/publication_list/templates/jinja/publication.tmpl
Expand Up @@ -33,9 +33,9 @@
<h2>Full Text</h2>
<div>
<object data="{{ pdf }}" type="application/pdf" width="100%" style="height:90vh">
<p>Your browser does not support viewing the PDF file inline.</p>
<p>Your browser does not support viewing the PDF file inline. Please click the link below to download the file.</p>
</object>
<p>Click <a href="{{ pdf }}" download="{{ label }}.pdf">here</a> to download the file.</p>
<p>[<a href="{{ pdf }}" download="{{ label }}.pdf">download</a>]</p>
</div>
{% endif %}
{% endblock %}
4 changes: 2 additions & 2 deletions v7/publication_list/templates/mako/publication.tmpl
Expand Up @@ -33,9 +33,9 @@
<h2>Full Text</h2>
<div>
<object data="${pdf}" type="application/pdf" width="100%" style="height:90vh">
<p>Your browser does not support viewing the PDF file inline.</p>
<p>Your browser does not support viewing the PDF file inline. Please click the link below to download the file.</p>
</object>
<p>Click <a href="${pdf}" download="${label}.pdf">here</a> to download the file.</p>
<p>[<a href="${pdf}" download="${label}.pdf">download</a>]</p>
</div>
% endif
</%block>

0 comments on commit 07ffbe8

Please sign in to comment.