~wegtam/smederee
Showing details for patch 4768f431d5f99ad93ca831f69a7d60dc3ebc6677.
diff -rN -u old-smederee/modules/hub/src/main/twirl/de/smederee/hub/views/showRepositoryFiles.scala.html new-smederee/modules/hub/src/main/twirl/de/smederee/hub/views/showRepositoryFiles.scala.html --- old-smederee/modules/hub/src/main/twirl/de/smederee/hub/views/showRepositoryFiles.scala.html 2024-11-22 21:17:15.790832317 +0000 +++ new-smederee/modules/hub/src/main/twirl/de/smederee/hub/views/showRepositoryFiles.scala.html 2024-11-22 21:17:15.790832317 +0000 @@ -63,7 +63,7 @@ <tr> <td>@if(entry._2.isDir) { @icon(baseUri)("folder") } else { @icon(baseUri)("file") }</td> <td><a href="@actionBaseUri.addSegment(entry._1.last)">@{entry._1}</a></td> - <td style="text-align: right;">@formatBytes(entry._2.size)</td> + <td style="text-align: right;">@if(entry._2.isDir){}else{@formatBytes(entry._2.size)}</td> <td>@{entry._2.mtime}</td> </tr> }