mirror of
				https://github.com/gitbucket/gitbucket.git
				synced 2025-10-31 02:25:59 +01:00 
			
		
		
		
	Don't display binary file at the blob view.
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user