Don't display binary file at the blob view.

This commit is contained in:
takezoe
2013-06-21 12:53:37 +09:00
parent 706f3a61bf
commit 44e53e05fd
2 changed files with 24 additions and 9 deletions

View File

@@ -37,7 +37,7 @@
@if(content.viewType == "image"){
<img src="?raw=true"/>
}
@if(content.viewType == "large"){
@if(content.viewType == "large" || content.viewType == "binary"){
<div style="text-align: center">
<a href="?raw=true">View Raw</a><br>
(Sorry about that, but we can't show files that are this big right now)