mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-10 23:45:50 +01:00
Display the lock icon for private repositories.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
@(repositories: List[service.RepositoryService.RepositoryInfo])(implicit context: app.Context)
|
||||
@import context._
|
||||
@import service.RepositoryService._
|
||||
@main("GitBucket"){
|
||||
<h3>Recent updated repositories</h3>
|
||||
@repositories.map { repository =>
|
||||
@@ -8,6 +9,9 @@
|
||||
<a href="@path/@repository.owner">@repository.owner</a>
|
||||
/
|
||||
<a href="@path/@repository.owner/@repository.name">@repository.name</a>
|
||||
@if(repository.repository.repositoryType == Private){
|
||||
<i class="icon-lock"></i>
|
||||
}
|
||||
</div>
|
||||
@if(repository.repository.description.isDefined){
|
||||
<div>@repository.repository.description</div>
|
||||
|
||||
Reference in New Issue
Block a user