<mvc:View
		controllerName="sap.ui.documentation.sdk.controller.Entity"
		xmlns:mvc="sap.ui.core.mvc"
		xmlns:core="sap.ui.core"
		xmlns:m="sap.m"
		xmlns:l="sap.ui.layout"
		xmlns="sap.uxap"
		xmlns:html="http://www.w3.org/1999/xhtml">
	<ObjectPageLayout
			id="ObjectPageLayout"
			useIconTabBar="true"
			selectedSection="samples"
			upperCaseAnchorBar="false"
			busyIndicatorDelay="0">
		<headerTitle>
			<ObjectPageHeader
					id="entityHeader"
					objectTitle="{/name}">
				<actions>
					<ObjectPageHeaderActionButton id="entityBackToSearch" text="{i18n>ENTITY_BACK_BTN}" hideIcon="true" hideText="false" press=".backToSearch" visible="false"/>
					<ObjectPageHeaderActionButton
							id="toggleFullScreenBtn"
							visible="{device>/system/desktop}"
							icon="sap-icon://full-screen"
							tooltip="{i18n>ENTITY_FULLSCREEN_TOOLTIP}"
							press=".onToggleFullScreen" />
				</actions>
			</ObjectPageHeader>
		</headerTitle>

		<headerContent>
			<l:Grid defaultSpan="L4 M6 S12" class="sapUiNoMargin" hSpacing="0">
				<l:VerticalLayout width="98%" id="headerColumn0"/>
				<l:VerticalLayout width="100%" id="headerColumn1" visible="false"/>
				<l:VerticalLayout width="100%" id="headerColumn2" visible="false"/>
			</l:Grid>
		</headerContent>

		<sections>
			<ObjectPageSection class="sapUiDemokitEntityAbout" id="about" title="{i18n>ENTITY_ABOUT}">
				<subSections>
					<ObjectPageSubSection>

						<l:VerticalLayout>
							<core:HTML content="{/description}" />

							<l:VerticalLayout visible="{/show/introLink}">
								<m:Text text="{/shortDescription}"/>
							</l:VerticalLayout>

						</l:VerticalLayout>

					</ObjectPageSubSection>
				</subSections>
			</ObjectPageSection>

			<ObjectPageSection class="sapUiDemokitEntitySamples" id="samples" title="{
					parts: [
						'i18n>ENTITY_SAMPLES',
						'/count/samples'
					],
					formatter: '.formatMessage'
				}"
				visible="{= ${/count/samples} > 0 }">
				<subSections>
					<ObjectPageSubSection>
						<m:VBox>
							<m:MessageStrip
									class="sapUiSmallMarginBottom sapUiSmallNegativeMarginBeginEnd"
									text="{/deprecatedMark}"
									type="Error"
									visible="{= ${/deprecated} === 'true'}"/>
							<m:Table
									class="myTable sapUxAPObjectPageSubSectionAlignContent"
									width="auto"
									id="table"
									items="{/entity/samples}"
									fixedLayout="false"
									showSeparators="Inner" >
								<m:columns>
									<m:Column><m:Label text="{i18n>ENTITY_TABLE_NAME}" /></m:Column>
									<m:Column minScreenWidth="Tablet"><m:Label text="{i18n>ENTITY_TABLE_DESCRIPTION}" /></m:Column>
								</m:columns>
								<m:items>
									<m:ColumnListItem type="Navigation" press=".onNavToSample" vAlign="Middle">
										<m:cells>
											<m:Text text="{name}" class="entitySampleName" wrapping="false" />
											<m:FormattedText htmlText="{= ${path: 'description'} ? ${path: 'description'} : ''}" />
										</m:cells>
									</m:ColumnListItem>
								</m:items>
							</m:Table>
						</m:VBox>
					</ObjectPageSubSection>
				</subSections>
			</ObjectPageSection>

		</sections>
	</ObjectPageLayout>
</mvc:View>