Skip to content

Commit

Permalink
Add missing template back
Browse files Browse the repository at this point in the history
  • Loading branch information
xiez committed Dec 27, 2014
1 parent f840994 commit 972ef7b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions seahub/templates/view_file_unknown.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{% extends 'view_file_base.html' %}
{% load i18n %}

{% block extra_script %}{{ block.super }}
<script type="text/javascript">
$('#file-view').html('<div id="file-view-tip"><p>{% trans "This type of file cannot be viewed online." %}</p></div>');
</script>
{% endblock %}

0 comments on commit 972ef7b

Please sign in to comment.