Disable delete button on a view under certain conditions
You need hook form alter: https://api.drupal.org/api/drupal/modules!system!system.api.php/function/hook_form_alter/7

You first have to inspect element of the form and get the Form ID. Then use the following to unset the submit button. You will have to print_r() or use devel to output the $form array to find the submit button to unset.

function myModuleName_form_alter(&amp;$form, &amp;$form_state, $form_id){

if ($form_id == 'myformid') {
  unset($form[submit button])
}

}