1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-16 15:19:06 +00:00
This commit is contained in:
王健辉
2019-05-16 19:05:49 +08:00
parent b4bc5aa891
commit 2c9aeddb2e

View File

@@ -851,7 +851,7 @@ def file_revisions(request, repo_id):
'can_download_file': parse_repo_perm(repo_perm).can_download,
})
use_new_style = True if filetype == 'markdown' else False
use_new_style = True if suffix_list and filetype == 'markdown' else False
if use_new_style:
return render(request, 'file_revisions_new.html', {