1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-25 14:50:29 +00:00
This commit is contained in:
xiez
2012-07-02 22:58:06 +08:00
parent 340ad516e4
commit c70fbf11d1

View File

@@ -63,7 +63,7 @@
} else if (can_preview == 'True' && filetype == 'Image') {
$('#file-content').replaceWith('<img src="{{ raw_path }}" width="550" height="450"></img>');
} else {
$('#file-content').html('无法识别该文件格式,<a class="op" href="">下载文件</a>。');
$('#file-content').html('无法识别该文件格式,<a class="op" href="{{ SITE_ROOT }}repo/{{ repo.id }}/{{ obj_id }}/?file_name={{ file_name }}&op=download">下载文件</a>。');
}
});