add link detail directive