Merge branch 'stable-2.9'
* stable-2.9: Add support for JCE (Java Cryptography Extension) ciphers Buck: Respect gerrit-gwtui-common dependency for GWT plugins More improvements in the change info block UI Add a section about the submit type to the project owner guide Fix: Wrong exception mapping in ReceiveCommmits Fix REST example for removing included groups from a group rest-api-groups.txt: Correct input examples to use [] for lists Document project options Allow service users to access REST API if auth.gitBasicAuth = true Improve documentation about project creation Make singleusergroup a core plugin Rename 'Change Submit Action' in documentation to 'Submit Type' ProjectInfoScreen: Display submit type and content merge next to each other Add guide for project owners Improve description of the auth.gitBasicAuth parameter Conflicts: Documentation/config-gerrit.txt Documentation/rest-api-groups.txt gerrit-gwtui/src/main/java/com/google/gerrit/client/GerritResources.java gerrit-gwtui/src/main/java/com/google/gerrit/client/admin/ProjectInfoScreen.java Change-Id: I269f8f1395c352d8d90ba4f770a19296a50967de
This commit is contained in:
@@ -185,6 +185,13 @@ public class ProjectInfoScreen extends ProjectScreen {
|
||||
private void initProjectOptions() {
|
||||
grid.addHeader(new SmallHeading(Util.C.headingProjectOptions()));
|
||||
|
||||
state = new ListBox();
|
||||
for (ProjectState stateValue : ProjectState.values()) {
|
||||
state.addItem(Util.toLongString(stateValue), stateValue.name());
|
||||
}
|
||||
saveEnabler.listenTo(state);
|
||||
grid.add(Util.C.headingProjectState(), state);
|
||||
|
||||
submitType = new ListBox();
|
||||
for (final SubmitType type : SubmitType.values()) {
|
||||
submitType.addItem(Util.toLongString(type), type.name());
|
||||
@@ -198,13 +205,6 @@ public class ProjectInfoScreen extends ProjectScreen {
|
||||
saveEnabler.listenTo(submitType);
|
||||
grid.add(Util.C.headingProjectSubmitType(), submitType);
|
||||
|
||||
state = new ListBox();
|
||||
for (final ProjectState stateValue : ProjectState.values()) {
|
||||
state.addItem(Util.toLongString(stateValue), stateValue.name());
|
||||
}
|
||||
saveEnabler.listenTo(state);
|
||||
grid.add(Util.C.headingProjectState(), state);
|
||||
|
||||
contentMerge = newInheritedBooleanBox();
|
||||
saveEnabler.listenTo(contentMerge);
|
||||
grid.add(Util.C.useContentMerge(), contentMerge);
|
||||
|
||||
Reference in New Issue
Block a user