mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-01 11:06:06 +01:00
Merge branch 'master' of https://github.com/takezoe/gitbucket.git
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
@(account: model.Account, repositories: List[service.RepositoryService.RepositoryInfo])(implicit context: app.Context)
|
||||
@import context._
|
||||
@import view.helpers
|
||||
@html.main(account.userName){
|
||||
<div class="container-fluid">
|
||||
<div class="row-fluid">
|
||||
@@ -9,7 +10,7 @@
|
||||
</div>
|
||||
<div class="block">
|
||||
<div><i class="icon-home"></i> <a href="@account.url">@account.url</a></div>
|
||||
<div><i class="icon-time"></i> <span class="description">Joined on</span> @account.registeredDate</div>
|
||||
<div><i class="icon-time"></i> <span class="description">Joined on</span> @helpers.date(account.registeredDate)</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="span8">
|
||||
@@ -39,7 +40,7 @@
|
||||
@if(repository.repository.description.isDefined){
|
||||
<div>@repository.repository.description</div>
|
||||
}
|
||||
<div><span class="description small">Last updated: @repository.repository.lastActivityDate</span></div>
|
||||
<div><span class="description small">Last updated: @helpers.date(repository.repository.lastActivityDate)</span></div>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
@(repositories: List[service.RepositoryService.RepositoryInfo])(implicit context: app.Context)
|
||||
@import context._
|
||||
@import view.helpers
|
||||
@main("GitBucket"){
|
||||
<h3>Recent updated repositories</h3>
|
||||
@repositories.map { repository =>
|
||||
@@ -15,7 +16,7 @@
|
||||
@if(repository.repository.description.isDefined){
|
||||
<div>@repository.repository.description</div>
|
||||
}
|
||||
<div><span class="description small">Last updated: @repository.repository.lastActivityDate</span></div>
|
||||
<div><span class="description small">Last updated: @helpers.date(repository.repository.lastActivityDate)</span></div>
|
||||
</div>
|
||||
}
|
||||
}
|
||||
@@ -16,7 +16,7 @@
|
||||
<tr>
|
||||
<td><a href="@path/@repository.owner/@repository.name/tree/@tag.name">@tag.name</a></td>
|
||||
<td>@helpers.datetime(tag.time)</td>
|
||||
<td><a href="@path/@repository.owner/@repository.name/commit/@tag.id">@tag.id.substring(0, 10)</a></td>
|
||||
<td class="monospace"><a href="@path/@repository.owner/@repository.name/commit/@tag.id">@tag.id.substring(0, 10)</a></td>
|
||||
<td><a href="@path/@repository.owner/@repository.name/archive/@(tag.name).zip">ZIP</a></td>
|
||||
</tr>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user