Added link to view record in gallery view