Merge "Add CHANGE_SCREEN_BELOW_RELATED_INFO_BLOCK extension point"
This commit is contained in:
@@ -20,6 +20,7 @@ public enum GerritUiExtensionPoint {
|
||||
CHANGE_SCREEN_HEADER_RIGHT_OF_BUTTONS,
|
||||
CHANGE_SCREEN_HEADER_RIGHT_OF_POP_DOWNS,
|
||||
CHANGE_SCREEN_BELOW_CHANGE_INFO_BLOCK,
|
||||
CHANGE_SCREEN_BELOW_RELATED_INFO_BLOCK,
|
||||
|
||||
/* MyPasswordScreen */
|
||||
PASSWORD_SCREEN_BOTTOM,
|
||||
|
||||
@@ -189,6 +189,7 @@ public class ChangeScreen extends Screen {
|
||||
@UiField Element actionText;
|
||||
@UiField Element actionDate;
|
||||
@UiField SimplePanel changeExtension;
|
||||
@UiField SimplePanel relatedExtension;
|
||||
|
||||
@UiField Actions actions;
|
||||
@UiField Labels labels;
|
||||
@@ -333,6 +334,9 @@ public class ChangeScreen extends Screen {
|
||||
addExtensionPoint(
|
||||
GerritUiExtensionPoint.CHANGE_SCREEN_BELOW_CHANGE_INFO_BLOCK,
|
||||
changeExtension, change, rev);
|
||||
addExtensionPoint(
|
||||
GerritUiExtensionPoint.CHANGE_SCREEN_BELOW_RELATED_INFO_BLOCK,
|
||||
relatedExtension, change, rev);
|
||||
}
|
||||
|
||||
private void addExtensionPoint(GerritUiExtensionPoint extensionPoint,
|
||||
|
||||
@@ -347,6 +347,10 @@ limitations under the License.
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
.relatedExtension {
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
.pushCertStatus {
|
||||
padding-left: 5px;
|
||||
}
|
||||
@@ -520,6 +524,7 @@ limitations under the License.
|
||||
</td>
|
||||
<td class='{style.relatedColumn}'>
|
||||
<c:RelatedChanges ui:field='related'/>
|
||||
<g:SimplePanel ui:field='relatedExtension' styleName='{style.relatedExtension}'/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user