mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-10 23:45:50 +01:00
Fix broken commits link in the repository header
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
@helper.html.information(info)
|
@helper.html.information(info)
|
||||||
@helper.html.error(error)
|
@helper.html.error(error)
|
||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
<a href="@url(repository)/commits/@encodeRefName(id.getOrElse(""))" class="header-link">
|
<a href="@url(repository)/commits/@encodeRefName(id.getOrElse(repository.repository.defaultBranch))" class="header-link">
|
||||||
<i class="octicon octicon-history"></i>
|
<i class="octicon octicon-history"></i>
|
||||||
@if(repository.commitCount > 10000){
|
@if(repository.commitCount > 10000){
|
||||||
<strong>10000+</strong> commits
|
<strong>10000+</strong> commits
|
||||||
|
|||||||
Reference in New Issue
Block a user