@** * Yona, 21st Century Project Hosting SW * * Copyright Yona & Yobi Authors & NAVER Corp & NAVER LABS Corp * https://yona.io **@ @(section:String, project:Project)(implicit request: play.api.mvc.RequestHeader) @isMac = @{requestHeader.headers.get("User-Agent").getOrElse("").contains("Macintosh")} @ctrl = @{if(isMac){"⌘"}else{"CTRL"}}
@Messages("title.keymap")

##### @Messages("project.projects")

H @Messages("menu.home")
B @Messages("menu.board")
I @Messages("menu.issue")
C @Messages("menu.code")
M @Messages("milestone")
@if(project != null ) { @if(project.vcs.equals("GIT")){ P @Messages("menu.pullRequest")
} } @if(project != null ) { @if(UserApp.currentUser.isManagerOf(project)){ Q @Messages("project.setting")
} }

##### @Messages("title." + section)

@if(section.indexOf("board") > -1){ N @Messages("post.write")
} @if(section.indexOf("issue") > -1){ N @Messages("issue.menu.new")
} @if(section.indexOf("Detail") > - 1){ L @Messages("button.list")
E @Messages("button.edit")
} @if(section.indexOf("List") > -1){ ← @Messages("button.prevPage")
→ @Messages("button.nextPage")
} @if(section == "issueList"){ @ctrl+ A @Messages("button.selectAll")
}

##### @Messages("site")

A @Messages("issue.myIssue")
U @Messages("userinfo.profile")
F @Messages("user.menu")
@if(isMac){ CTRL + } ALT + S @Messages("site.search")
@ctrl + ENTER @Messages("button.submitForm")
@if((section.indexOf("issue") > -1) && (section.indexOf("Detail") > - 1)){

##### @Messages("search.menu.issue.comments")

SHIFT + @ctrl + ENTER @Messages("button.commentAndNextState.closed")
}