(refs #1080)Fix commit count presentation when over 10000

This commit is contained in:
Naoki Takezoe
2016-01-30 02:01:04 +09:00
parent 5a2224623b
commit 860fc8ef4c

View File

@@ -116,7 +116,11 @@
<td style="width: 33%; text-align: center;">
<a href="@url(repository)/commits/@encodeRefName(id.getOrElse(""))" class="header-link">
<i class="octicon octicon-history"></i>
<strong>@repository.commitCount</strong> commits
@if(repository.commitCount > 10000){
<strong>10000+</strong> commits
} else {
<strong>@repository.commitCount</strong> commits
}
</a>
</td>
<td style="width: 33%; text-align: center;">