@(title: String, repository: Option[service.RepositoryService.RepositoryInfo] = None)(body: Html)(implicit context: app.Context) @import context._ @import view.helpers._
GitBucket @defining(servlet.AutoUpdate.getCurrentVersion){ version => @version.majorVersion.@version.minorVersion }
@repository.map { repository => } @if(loginAccount.isDefined){ @avatar(loginAccount.get.userName, 20) @loginAccount.get.userName

- New repository
- New group

@plugin.PluginSystem.globalMenus.map { menu => @if(menu.condition(context)){ @if(menu.icon.nonEmpty){} else {@menu.label} } } @if(loginAccount.get.isAdmin){ } } else { @plugin.PluginSystem.globalMenus.map { menu => @if(menu.condition(context)){ @if(menu.icon.nonEmpty){} else {@menu.label} } } Sign in }
@body