<mvc:View controllerName="sap.ui.documentation.sdk.controller.ReleaseNotes"
		xmlns:core="sap.ui.core"
		xmlns:mvc="sap.ui.core.mvc"
		xmlns="sap.uxap"
		xmlns:layout="sap.ui.layout"
		xmlns:m="sap.m"
		xmlns:html="http://www.w3.org/1999/xhtml"
		height="100%">

			<ObjectPageLayout
					id="releaseNotesObjectPage"
					busy="true"
					enableLazyLoading="false"
					showTitleInHeaderContent="false"
					sections="{/libs}"
					upperCaseAnchorBar="false">

				<headerTitle>
					<ObjectPageHeader objectTitle="{i18n>RELEASE_NOTES_TITLE}"/>
				</headerTitle>

				<headerContent>
					<layout:VerticalLayout>
						<m:Text visible="{= !${versionData>/isOpenUI5} }" text="This log includes the library notes for the libraries listed below. The distribution patch information shows when changes were delivered in SAPUI5. The version shown after each change indicates the library version where the change was first included."/>
						<m:Text visible="{versionData>/isOpenUI5}" text="This log includes the library notes for the libraries listed below. The distribution patch information shows when changes were delivered in OpenUI5."/>
						<m:Select id="VersionSelect" items="{select>/items}" change=".handleVersionChange" visible="false">
							<core:Item text="{select>value}" key="{select>key}"/>
						</m:Select>
					</layout:VerticalLayout>
				</headerContent>

				<sections>

					<ObjectPageSection title="{library}" titleUppercase="false">
						<ObjectPageSubSection titleUppercase="false">
							<layout:VerticalLayout content="{path: 'versions', templateShareable: false}" width="100%">
								<m:Panel
									headerText="{distributionPatch}"
									expandable="true"
									expanded="true"
									class="sapUxAPObjectPageSubSectionAlignContent"
									width="auto">
									<layout:VerticalLayout content="{path: 'notes', templateShareable: false}" width="100%">
										<m:VBox width="100%">
											<m:Text visible="{= !${versionData>/isOpenUI5} }" width="100%" text="[{type}] {text} (included in {version})"/>
											<m:Text visible="{versionData>/isOpenUI5}" width="100%" text="[{type}] {text}"/>
										</m:VBox>
									</layout:VerticalLayout>
								</m:Panel>
							</layout:VerticalLayout>
						</ObjectPageSubSection>
					</ObjectPageSection>

				</sections>

			</ObjectPageLayout>

</mvc:View>