@(active: String, newButton: Boolean, repository: service.RepositoryService.RepositoryInfo)(implicit context: app.Context) @import context._ @import view.helpers._

- Issues
- Pull requests
- Labels
- Milestones
@if(loginAccount.isDefined){
- @if(newButton){ @if(active == "issues"){ New issue } @if(active == "pulls"){ New pull request } @if(active == "labels"){ New label } @if(active == "milestones"){ New milestone } }
}