From a863951d9728c1d624b5ee5dc8b1bdfd62d94b57 Mon Sep 17 00:00:00 2001 From: takezoe Date: Mon, 19 May 2014 00:29:29 +0900 Subject: [PATCH] Show diff for files other than markdown by "Preview" button --- src/main/twirl/repo/editor.scala.html | 46 ++++++++++++++++----------- 1 file changed, 28 insertions(+), 18 deletions(-) diff --git a/src/main/twirl/repo/editor.scala.html b/src/main/twirl/repo/editor.scala.html index 4b6e0b560..d89656928 100644 --- a/src/main/twirl/repo/editor.scala.html +++ b/src/main/twirl/repo/editor.scala.html @@ -30,18 +30,16 @@ - @if(renderableSuffixes.find(suffix => fileName.map(_.toLowerCase.endsWith(suffix)).getOrElse(false))) { -
- - -
- } +
+ + +
- + @@ -71,6 +69,9 @@ } } + + +