diff --git a/src/main/twirl/gitbucket/core/repo/files.scala.html b/src/main/twirl/gitbucket/core/repo/files.scala.html
index eda6199..877411f 100644
--- a/src/main/twirl/gitbucket/core/repo/files.scala.html
+++ b/src/main/twirl/gitbucket/core/repo/files.scala.html
@@ -121,79 +121,79 @@
authored @gitbucket.core.helper.html.datetimeago(latestCommit.authorTime)
@if(latestCommit.isDifferentFromAuthor) {
-
-
- @helpers.user(latestCommit.committerName, latestCommit.committerEmailAddress, "username strong")
- committed @gitbucket.core.helper.html.datetimeago(latestCommit.commitTime)
-
+
+
+ @helpers.user(latestCommit.committerName, latestCommit.committerEmailAddress, "username strong")
+ committed @gitbucket.core.helper.html.datetimeago(latestCommit.commitTime)
+
}
@if(pathList.size > 0){
-
- |
- .. |
- |
- |
-
+
+ |
+ .. |
+ |
+ |
+
}
@files.map { file =>
-
-
- @if(file.isDirectory){
- @if(file.linkUrl.isDefined){
-
- } else {
-
- }
- } else {
-
- }
- |
-
- @if(file.isDirectory){
- @{file.linkUrl match {
- case Some(linkUrl) if linkUrl.startsWith("http://") || linkUrl.startsWith("https://") => {
-
- {file.name.split("/").toList.init match {
- case Nil => ""
- case list => list.mkString("", "/", "/")
- }}
- {file.name.split("/").toList.last}
-
+ |
+
+ @if(file.isDirectory){
+ @if(file.linkUrl.isDefined){
+
+ } else {
+
}
- case Some(_) => {
-
- {file.name.split("/").toList.init match {
- case Nil => ""
- case list => list.mkString("", "/", "/")
- }}
- {file.name.split("/").toList.last}
-
- }
- case None => {
-
- {file.name.split("/").toList.init match {
- case Nil => ""
- case list => list.mkString("", "/", "/")
- }}
- {file.name.split("/").toList.last}
-
- }
- }}
- } else {
- @file.name
- }
- |
-
-
- @helpers.link(file.message, repository)
-
- |
- @gitbucket.core.helper.html.datetimeago(file.time, false) |
-
+ } else {
+
+ }
+
+
+ @if(file.isDirectory){
+ @{file.linkUrl match {
+ case Some(linkUrl) if linkUrl.startsWith("http://") || linkUrl.startsWith("https://") => {
+
+ {file.name.split("/").toList.init match {
+ case Nil => ""
+ case list => list.mkString("", "/", "/")
+ }}
+ {file.name.split("/").toList.last}
+
+ }
+ case Some(_) => {
+
+ {file.name.split("/").toList.init match {
+ case Nil => ""
+ case list => list.mkString("", "/", "/")
+ }}
+ {file.name.split("/").toList.last}
+
+ }
+ case None => {
+
+ {file.name.split("/").toList.init match {
+ case Nil => ""
+ case list => list.mkString("", "/", "/")
+ }}
+ {file.name.split("/").toList.last}
+
+ }
+ }}
+ } else {
+ @file.name
+ }
+ |
+
+
+ @helpers.link(file.message, repository)
+
+ |
+ @gitbucket.core.helper.html.datetimeago(file.time, false) |
+
}
@readme.map { case(filePath, content) =>