To modify attendance "%(attendance)s" you must reopen period "%(period)s". To delete attendance "%(attendance)s" you must reopen period "%(period)s". To close period "%(period)s" you must first close "%(other_period)s". To change period "%(period)s" you must first change "%(other_period)s" to draft.