@(activities: List[model.Activity], repositories: List[service.RepositoryService.RepositoryInfo], systemSettings: service.SystemSettingsService.SystemSettings, userRepositories: List[String])(implicit context: app.Context) @import context._ @import view.helpers._ @main("GitBucket"){

### News Feed

@helper.html.activities(activities)
@if(loginAccount.isEmpty){ @signinform(systemSettings) } else {

New repository Your repositories (@userRepositories.size)
@if(userRepositories.isEmpty){
No repositories
} else { @userRepositories.map { repositoryName =>
@repositoryName
} }

}

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

}