add notice when no view pass edit