Skip to content

Commit

Permalink
Add download link to doc preview
Browse files Browse the repository at this point in the history
  • Loading branch information
gthole committed Jan 22, 2018
1 parent 5a655b7 commit 32b146f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gedgo/templates/default/document_preview.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
{% block leftsidebar %}
<div class="text-center hidden-xs word-break">
<h3>{{ doc.docfile.name }}</h3>
<a href="/gedgo/media/gedcom/{{ doc.docfile.name | urlencode }}">
<i class="fa fa-download"></i> Download
</a>
</div>
{% endblock %}

Expand Down

0 comments on commit 32b146f

Please sign in to comment.