@** * Yobi, Project Hosting SW * * Copyright 2012 NAVER Corp. * http://yobi.io * * @author Tae * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. **@ @(title: String, milestones: List[models.Milestone], project: Project, param: MilestoneApp.MilestoneCondition) @import scala.collection.immutable._ @import utils.TemplateHelper._ @import models.enumeration.ResourceType @import models.enumeration.Operation @import utils.AccessControl._ @urlToList = {@routes.MilestoneApp.milestones(project.owner, project.name)} @makeFilterLink(fieldName:String, orderBy:String, orderDir:String, fieldText:String) = { @if(orderBy.equals(fieldName)) { @fieldText } else { @fieldText } } @makeMilestoneListLink(_state: String) = @{ buildQueryString(routes.MilestoneApp.milestones(project.owner, project.name), Map("state"->_state) ) } @projectLayout(title, project, utils.MenuType.MILESTONE) { @projectMenu(project, utils.MenuType.MILESTONE, "")
@Messages("milestone.is.empty")