(refs #947)Fix referenced link from pull request

This commit is contained in:
Naoki Takezoe
2015-10-18 18:06:03 +09:00
parent 720ab7e0a3
commit 042f855cd5
3 changed files with 54 additions and 16 deletions

View File

@@ -55,7 +55,7 @@
} else {
@if(comment.action == "refer"){
@defining(comment.content.split(":")){ case Array(issueId, rest @ _*) =>
<strong><a href="@path/@repository.owner/@repository.name/issues/@issueId">Issue #@issueId</a>: @rest.mkString(":")</strong>
<strong>@issueLink(repository, issueId.toInt): @rest.mkString(":")</strong>
}
} else {
<div class="markdown-body">@markdown(comment.content, repository, false, true, true, hasWritePermission)</div>