From f8bda516d6827c175627e98a077005af030d62e4 Mon Sep 17 00:00:00 2001 From: gageas Date: Thu, 21 Dec 2017 22:32:27 +0900 Subject: [PATCH] Fix typo in style attribute Because of the typo, image displayed in unintended aspect ratio, in some case. --- src/main/twirl/gitbucket/core/helper/uploadavatar.scala.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/twirl/gitbucket/core/helper/uploadavatar.scala.html b/src/main/twirl/gitbucket/core/helper/uploadavatar.scala.html index 961693d0b..6632a5568 100644 --- a/src/main/twirl/gitbucket/core/helper/uploadavatar.scala.html +++ b/src/main/twirl/gitbucket/core/helper/uploadavatar.scala.html @@ -1,7 +1,7 @@ @(account: Option[gitbucket.core.model.Account])(implicit context: gitbucket.core.controller.Context)
@if(account.nonEmpty && account.get.image.nonEmpty){ - + } else {
Upload Image
}