Finished function integration to dormitory detail page.