From f912f3d0abe99301129397156f45fadb13b26343 Mon Sep 17 00:00:00 2001 From: Nick Sergeant Date: Mon, 28 Sep 2015 13:30:40 -0400 Subject: [PATCH] Don't render snipt.code if long and not detail for raw. --- snipts/templates/snipts/snipt-list.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/snipts/templates/snipts/snipt-list.html b/snipts/templates/snipts/snipt-list.html index ca06a38..383ac05 100644 --- a/snipts/templates/snipts/snipt-list.html +++ b/snipts/templates/snipts/snipt-list.html @@ -97,7 +97,9 @@ {% endif %} {% endif %} - + {% if snipt.line_count <= 300 and not detail %} + + {% endif %} {% if snipt.description and detail %}