modified codes to not display release batches button

should not be displayed if there are no batches to send