@(activities: List[model.Activity], recentRepositories: List[service.RepositoryService.RepositoryInfo], systemSettings: service.SystemSettingsService.SystemSettings, userRepositories: List[service.RepositoryService.RepositoryInfo])(implicit context: app.Context) @import context._ @import view.helpers._ @main("GitBucket"){ @dashboard.html.tab()
@helper.html.activities(activities)
@if(loginAccount.isEmpty){ @signinform(systemSettings) } else {

New repository Your repositories (@userRepositories.size)
@if(userRepositories.isEmpty){
No repositories
} else { @userRepositories.map { repository =>
@if(repository.repository.isPrivate){ } else { @if(repository.repository.originUserName.isDefined){ } else { } } @if(repository.owner == loginAccount.get.userName){ @repository.name } else { @repository.owner/@repository.name }
} }

}

Recent updated repositories
@if(recentRepositories.isEmpty){
No repositories
} else { @recentRepositories.map { repository =>
@if(repository.repository.isPrivate){ } else { @if(repository.repository.originUserName.isDefined){ } else { } } @repository.owner/@repository.name
} }

}