mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-15 09:55:49 +01:00
Display file size in file viewer
This commit is contained in:
@@ -54,6 +54,7 @@
|
|||||||
@helpers.avatar(latestCommit, 28)
|
@helpers.avatar(latestCommit, 28)
|
||||||
@helpers.user(latestCommit.authorName, latestCommit.authorEmailAddress, "username strong")
|
@helpers.user(latestCommit.authorName, latestCommit.authorEmailAddress, "username strong")
|
||||||
<span class="muted">@gitbucket.core.helper.html.datetimeago(latestCommit.commitTime)</span>
|
<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>
|
<a href="@helpers.url(repository)/commit/@latestCommit.id" class="commit-message">@helpers.link(latestCommit.summary, repository)</a>
|
||||||
<div class="btn-group pull-right">
|
<div class="btn-group pull-right">
|
||||||
@if(hasWritePermission && content.viewType == "text" && repository.branchList.contains(branch)){
|
@if(hasWritePermission && content.viewType == "text" && repository.branchList.contains(branch)){
|
||||||
|
|||||||
Reference in New Issue
Block a user