mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-03 12:05:59 +01:00
(refs #1080)Fix commit count presentation when over 10000
This commit is contained in:
@@ -116,7 +116,11 @@
|
|||||||
<td style="width: 33%; text-align: center;">
|
<td style="width: 33%; text-align: center;">
|
||||||
<a href="@url(repository)/commits/@encodeRefName(id.getOrElse(""))" class="header-link">
|
<a href="@url(repository)/commits/@encodeRefName(id.getOrElse(""))" class="header-link">
|
||||||
<i class="octicon octicon-history"></i>
|
<i class="octicon octicon-history"></i>
|
||||||
|
@if(repository.commitCount > 10000){
|
||||||
|
<strong>10000+</strong> commits
|
||||||
|
} else {
|
||||||
<strong>@repository.commitCount</strong> commits
|
<strong>@repository.commitCount</strong> commits
|
||||||
|
}
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td style="width: 33%; text-align: center;">
|
<td style="width: 33%; text-align: center;">
|
||||||
|
|||||||
Reference in New Issue
Block a user