mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-06 05:25:50 +01:00
Change a limit of initial amount of the repositories list
This commit is contained in:
@@ -36,7 +36,7 @@
|
|||||||
</div>
|
</div>
|
||||||
} else {
|
} else {
|
||||||
<div class="box-content-bottom" style="padding: 0px;">
|
<div class="box-content-bottom" style="padding: 0px;">
|
||||||
@defining(5){ max =>
|
@defining(20){ max =>
|
||||||
@userRepositories.zipWithIndex.map { case (repository, i) =>
|
@userRepositories.zipWithIndex.map { case (repository, i) =>
|
||||||
<div class="box-content-row repo-link" style="@if(i > max - 1){display:none;}">
|
<div class="box-content-row repo-link" style="@if(i > max - 1){display:none;}">
|
||||||
@helper.html.repositoryicon(repository, false)
|
@helper.html.repositoryicon(repository, false)
|
||||||
|
|||||||
Reference in New Issue
Block a user