| | |
| | | md = md.replace("${ticketId}", "" + ticketId);
|
| | | md = md.replace("${patchset}", "" + 1);
|
| | | md = md.replace("${reviewBranch}", Repository.shortenRefName(PatchsetCommand.getTicketBranch(ticketId)));
|
| | | String integrationBranch = Repository.shortenRefName(getRepositoryModel().HEAD);
|
| | | String integrationBranch = Repository.shortenRefName(getRepositoryModel().mergeTo);
|
| | | if (!StringUtils.isEmpty(ticket.mergeTo)) {
|
| | | integrationBranch = ticket.mergeTo;
|
| | | }
|
| | |
| | | panel.add(reviewsView);
|
| | |
|
| | |
|
| | | if (ticket.isOpen() && user.canReviewPatchset(repository)) {
|
| | | if (ticket.isOpen() && user.canReviewPatchset(repository) && app().tickets().isAcceptingTicketUpdates(repository)) {
|
| | | // can only review open tickets
|
| | | Review myReview = null;
|
| | | for (Change change : ticket.getReviews(currentPatchset)) {
|