diff --git a/src/main/twirl/gitbucket/core/helper/diff.scala.html b/src/main/twirl/gitbucket/core/helper/diff.scala.html index 287706012..605efd245 100644 --- a/src/main/twirl/gitbucket/core/helper/diff.scala.html +++ b/src/main/twirl/gitbucket/core/helper/diff.scala.html @@ -24,16 +24,16 @@
@diff.oldPath -> @diff.newPath
+ @diff.oldPath -> @diff.newPath
}
@if(diff.changeType == ChangeType.ADD){
-
@diff.newPath
+ @diff.newPath
}
@if(diff.changeType == ChangeType.MODIFY){
-
@diff.newPath
+ @diff.newPath
}
@if(diff.changeType == ChangeType.DELETE){
-
@diff.oldPath
+ @diff.oldPath
}
@diff.oldPath -> @diff.newPath
+ @diff.oldPath -> @diff.newPath
@if(newCommitId.isDefined){
+
}else{
-
+
} @diff.newPath
@if(newCommitId.isDefined){
@diff.oldPath
+ @diff.oldPath
@if(oldCommitId.isDefined){
+
} else {
-
+
}
} else {
-
+
}