@(activities: List[gitbucket.core.model.Activity], recentRepositories: List[gitbucket.core.service.RepositoryService.RepositoryInfo], showBannerToCreatePersonalAccessToken: Boolean, enableNewsFeed: Boolean)(implicit context: gitbucket.core.controller.Context) @import gitbucket.core.view.helpers @gitbucket.core.html.main("GitBucket"){ @gitbucket.core.dashboard.html.sidebar(recentRepositories){ @context.settings.information.map { information =>
@Html(information)
} @if(showBannerToCreatePersonalAccessToken){
You can create a personal access token and use it in place of a password on the git command line.
} @gitbucket.core.dashboard.html.tab(enableNewsFeed)
@if(enableNewsFeed) {
activities
@gitbucket.core.helper.html.activities(activities) } else {
@if(context.settings.basicBehavior.allowAnonymousAccess){ @context.settings.information.map { information =>
@Html(information)
} } @gitbucket.core.html.signinform(context.settings)
}
} }