@(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) @issuestab("milestones", repository)
<string>Title</string>
Description @milestone.map(_.description)
Due Date @html.datepicker("dueDate", milestone.flatMap(_.dueDate))

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