:: characterOverview_housing[menu]
	<<gs 'characterOverviewNavigation' 'housing'>>
	<h2>Housing</h2>
	<h3>Your home</h3>
	<<if $housing.home == 'homeParents'>>
		<p>You are living with your parents in their apartment, which is part of the Five Eight Estate in Pavlovsk.</p>
	<<else>>
		<<set _housingData = $housing.houseData($housing.home)>>
		<p>You are living at <b>_housingData.name</b>.</p>
	<</if>>

	<h3>Rented properties</h3>
	<p>You have rented the following properties:</p>
	<ul>
		<<for _id, _housingData range $housing.rents>>
			<li>
				_housingData.data.name
				<<if _housingData.rent.pay>>(<<money _housingData.rent.pay>> per month)<</if>>
				<<if _housingData.rent.expirationTime>>( Expires <<datetime _housingData.rent.expirationTime>>)<</if>>
			</li>
		<</for>>
	</ul>