diff --git a/src/main/twirl/gitbucket/core/helper/diff.scala.html b/src/main/twirl/gitbucket/core/helper/diff.scala.html index 01725be23..ca7b95862 100644 --- a/src/main/twirl/gitbucket/core/helper/diff.scala.html +++ b/src/main/twirl/gitbucket/core/helper/diff.scala.html @@ -47,9 +47,6 @@
- @diff.oldPath -> @diff.newPath
@if(newCommitId.isDefined){
+ @diff.oldPath -> @diff.newPath
}
@if(diff.changeType == ChangeType.ADD || diff.changeType == ChangeType.MODIFY){
+ @if(newCommitId.isDefined){
+
@@ -67,24 +74,17 @@
}
@diff.newPath
- @if(newCommitId.isDefined){
-
- @diff.oldPath
@if(oldCommitId.isDefined){
}
+
+
+ @diff.oldPath
}