Browse Source

Add update and install buttons to solution packs page.

pull/105/head
Alexander O'Neill 14 years ago
parent
commit
30ef025c97
  1. 15
      fedora_repository.module

15
fedora_repository.module

@ -1776,6 +1776,7 @@ function fedora_repository_solution_pack_form($form, $solution_pack_name, $objec
'#type' => 'fieldset',
'#title' => "Objects",
// '#tree' => TRUE,
'#weight' => 10,
'#attributes' => array('class' => 'collapsed'),
'#collapsible' => TRUE,
'#collapsed' => TRUE,
@ -1806,6 +1807,20 @@ function fedora_repository_solution_pack_form($form, $solution_pack_name, $objec
}
}
$form['install'] = array(
'#name' => 'install',
'#value' => t('Install'),
'#disabled' => !$needs_install,
'#type' => 'button',
'#action' => 'install',
);
$form['update'] = array(
'#name' => 'update',
'#value' => t('Update'),
'#disabled' => !$needs_update,
'#type' => 'button',
'#action' => 'update',
);
return $form;
}

Loading…
Cancel
Save