formated the view page and added click event on restaurant name