Display file size in file viewer

This commit is contained in:
Mitsuhiro Koga
2017-02-11 23:51:37 +09:00
parent 39e55bde2d
commit 422eda927e

View File

@@ -54,6 +54,7 @@
@helpers.avatar(latestCommit, 28)
@helpers.user(latestCommit.authorName, latestCommit.authorEmailAddress, "username strong")
<span class="muted">@gitbucket.core.helper.html.datetimeago(latestCommit.commitTime)</span>
@content.readableSize
<a href="@helpers.url(repository)/commit/@latestCommit.id" class="commit-message">@helpers.link(latestCommit.summary, repository)</a>
<div class="btn-group pull-right">
@if(hasWritePermission && content.viewType == "text" && repository.branchList.contains(branch)){