mirror of
https://github.com/gitbucket/gitbucket.git
synced 2026-01-09 00:52:20 +01:00
(refs #2)Don't display reopen button for the pull request.
This commit is contained in:
@@ -184,8 +184,8 @@ git push origin @{pullreq.branch}</pre>
|
||||
<div class="pull-right">
|
||||
<input type="hidden" name="issueId" value="@issue.issueId"/>
|
||||
<input type="submit" class="btn btn-success" formaction="@url(repository)/issue_comments/new" value="Comment"/>
|
||||
@if(hasWritePermission || issue.openedUserName == loginAccount.get.userName){
|
||||
<input type="submit" class="btn" formaction="@url(repository)/issue_comments/state" value="@{if(issue.closed) "Reopen" else "Close"}" id="action"/>
|
||||
@if(!issue.closed && (hasWritePermission || issue.openedUserName == loginAccount.get.userName)){
|
||||
<input type="submit" class="btn" formaction="@url(repository)/issue_comments/state" value="Close" id="action"/>
|
||||
}
|
||||
</div>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user