change link to a button in leave details