@(milestone: Option[model.Milestone], repository: service.RepositoryService.RepositoryInfo)(implicit context: app.Context) @import context._ @import view.helpers._ @html.main("Milestones - " + repository.owner + "/" + repository.name){ @html.header("milestones", repository) @issues.html.tab("milestones", repository)
Title
Description @milestone.map(_.description)
Due Date @helper.html.datepicker("dueDate", milestone.flatMap(_.dueDate))

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