@(milestone: Option[gitbucket.core.model.Milestone], repository: gitbucket.core.service.RepositoryService.RepositoryInfo)(implicit context: gitbucket.core.controller.Context) @import gitbucket.core.view.helpers @gitbucket.core.html.main(s"Milestones - ${repository.owner}/${repository.name}"){ @gitbucket.core.html.menu("milestones", repository){ @if(milestone.isEmpty){

#### New milestone

Create a new milestone to help organize your issues and pull requests.
}

Description @milestone.map(_.description)
Due Date @gitbucket.core.helper.html.datepicker("dueDate", milestone.flatMap(_.dueDate))

@if(milestone.isEmpty){ } else { @if(milestone.get.closedDate.isDefined){ } else { } }
} }