Merge "Fix approval table to show votes for labels satisfied by submit_rule."
This commit is contained in:
@@ -400,8 +400,9 @@ public class ApprovalTable extends Composite {
|
|||||||
if (!ad.canVote(labelName)) {
|
if (!ad.canVote(labelName)) {
|
||||||
fmt.addStyleName(row, col, Gerrit.RESOURCES.css().notVotable());
|
fmt.addStyleName(row, col, Gerrit.RESOURCES.css().notVotable());
|
||||||
fmt.getElement(row, col).setTitle(Gerrit.C.userCannotVoteToolTip());
|
fmt.getElement(row, col).setTitle(Gerrit.C.userCannotVoteToolTip());
|
||||||
|
}
|
||||||
|
|
||||||
} else if (ad.isRejected(labelName)) {
|
if (ad.isRejected(labelName)) {
|
||||||
table.setWidget(row, col, new Image(Gerrit.RESOURCES.redNot()));
|
table.setWidget(row, col, new Image(Gerrit.RESOURCES.redNot()));
|
||||||
|
|
||||||
} else if (ad.isApproved(labelName)) {
|
} else if (ad.isApproved(labelName)) {
|
||||||
|
Reference in New Issue
Block a user