Skip to content

Instantly share code, notes, and snippets.

@ppmdo
Created February 16, 2018 22:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ppmdo/7adf770e8a922f9da42e4a3cabcea6a1 to your computer and use it in GitHub Desktop.
Save ppmdo/7adf770e8a922f9da42e4a3cabcea6a1 to your computer and use it in GitHub Desktop.
Changes to XMLUI Administrative Aspect
community/CreateCommunityForm.java
43,44c43
< private static final Message T_label_order = message("xmlui.administrative.community.EditCommunityMetadataForm.label_order");
< private static final Message T_label_short_description = message("xmlui.administrative.community.EditCommunityMetadataForm.label_short_description");
---
> private static final Message T_label_short_description = message("xmlui.administrative.community.EditCommunityMetadataForm.label_short_description");
90,94d88
< metadataList.addLabel(T_label_order);
< Text order = metadataList.addItem().addText("order");
< order.setSize(2);
<
< // short description
community/EditCommunityMetadataForm.java
50d49
< private static final Message T_label_order = message("xmlui.administrative.community.EditCommunityMetadataForm.label_order");
84d82
< String order_error = FlowContainerUtils.checkXMLFragment(thisCommunity.getMetadata("order"));
108,119c106
< // sorting order
< metadataList.addLabel(T_label_order);
< Text order = metadataList.addItem().addText("order");
< order.setValue(thisCommunity.getMetadata("order"));
< order.setSize(2);
<
< if (order_error != null)
< {
< order.addError(order_error);
< }
<
< // short description
---
> // short description
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment