ChangeScreen2: Make Reply button configurable
There were several complaints on Google Groups and in the issue tracker about the Reply… button in the New Change Screen. People new to Gerrit/the New Change Screen didn't know where to click in order to submit a review. Add a setting in gerrit.config, where the administrator can customize the label and tooltip of the Reply… button. Bug: issue 2541 Bug: issue 2974 Change-Id: Ib9e95aa2f03debc88ea091c4d3fb91c83ad9d1ba
This commit is contained in:
@@ -57,6 +57,8 @@ public class GerritConfig implements Cloneable {
|
||||
protected List<String> archiveFormats;
|
||||
protected int largeChangeSize;
|
||||
protected boolean newFeatures;
|
||||
protected String replyLabel;
|
||||
protected String replyTitle;
|
||||
|
||||
public String getLoginUrl() {
|
||||
return loginUrl;
|
||||
@@ -308,4 +310,20 @@ public class GerritConfig implements Cloneable {
|
||||
public void setNewFeatures(boolean n) {
|
||||
newFeatures = n;
|
||||
}
|
||||
|
||||
public String getReplyTitle() {
|
||||
return replyTitle;
|
||||
}
|
||||
|
||||
public void setReplyTitle(String r) {
|
||||
replyTitle = r;
|
||||
}
|
||||
|
||||
public String getReplyLabel() {
|
||||
return replyLabel;
|
||||
}
|
||||
|
||||
public void setReplyLabel(String r) {
|
||||
replyLabel = r;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user