mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-12 08:25:50 +01:00
Retrieve project information from DB at the repository list.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
@(user: String, repositories: List[app.RepositoryInfo])(implicit context: app.Context)
|
||||
@(user: String, repositories: List[service.ProjectService.RepositoryInfo])(implicit context: app.Context)
|
||||
@import context._
|
||||
@main(user){
|
||||
<div class="container-fluid">
|
||||
@@ -26,8 +26,8 @@
|
||||
@repositories.map { repository =>
|
||||
<div class="block">
|
||||
<div class="block-header-2"><a href="@path/@user/@repository.name">@repository.name</a></div>
|
||||
<div>xxxxxxxxxxxxxxxxxxxx</div>
|
||||
<div><span class="description small">Last updated: yyyy/mm/dd</span></div>
|
||||
<div>@repository.project.description</div>
|
||||
<div><span class="description small">Last updated: @repository.project.lastActivityDate</span></div>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user