diff --git a/src/main/twirl/pulls/pullreq.scala.html b/src/main/twirl/pulls/pullreq.scala.html
index 495379b..efc9840 100644
--- a/src/main/twirl/pulls/pullreq.scala.html
+++ b/src/main/twirl/pulls/pullreq.scala.html
@@ -14,6 +14,55 @@
@html.main(s"${issue.title} - Pull Request #${issue.issueId} - ${repository.owner}/${repository.name}", Some(repository)){
@html.menu("pulls", repository){
@defining(dayByDayCommits.flatten){ commits =>
+
+ -
+
+
+ @issue.title
+ #@issue.issueId
+
+
+
+
+
+
+ @if(issue.closed) {
+ @comments.find(_.action == "merge").map{ comment =>
+ Merged
+
+ @user(comment.commentedUserName, styleClass="username strong") merged @commits.size @plural(commits.size, "commit")
+ into @pullreq.userName:@pullreq.branch
from @pullreq.requestUserName:@pullreq.requestBranch
+ @helper.html.datetimeago(comment.registeredDate)
+
+ }.getOrElse {
+ Closed
+
+ @user(issue.openedUserName, styleClass="username strong") wants to merge @commits.size @plural(commits.size, "commit")
+ into @pullreq.userName:@pullreq.branch
from @pullreq.requestUserName:@pullreq.requestBranch
+
+ }
+ } else {
+ Open
+
+ @user(issue.openedUserName, styleClass="username strong") wants to merge @commits.size @plural(commits.size, "commit")
+ into @pullreq.userName:@pullreq.branch
from @pullreq.requestUserName:@pullreq.requestBranch
+
+ }
+
+
+ -
+
+ @if(hasWritePermission || loginAccount.map(_.userName == issue.openedUserName).getOrElse(false)){
+
Edit
+ }
+
New issue
+
+
+
+
+ @*
@if(issue.closed) {
@comments.find(_.action == "merge").map{ comment =>
@@ -32,6 +81,7 @@
into @pullreq.userName:@pullreq.branch
from @pullreq.requestUserName:@pullreq.requestBranch
}
+ *@