show download icon only when pdf url exists