@ -39,6 +57,10 @@ function islandora_datastream_version_table($datastream) {
'class' => 'datastream-label',
'class' => 'datastream-label',
'data' => $datastream_version->label,
'data' => $datastream_version->label,
);
);
$row[] = array(
'class' => 'datastream-responsibility',
'data' => $user_val,
);
$row[] = array(
$row[] = array(
'class' => 'datastream-mime',
'class' => 'datastream-mime',
'data' => $datastream_version->mimeType,
'data' => $datastream_version->mimeType,
@ -85,12 +107,7 @@ function islandora_delete_datastream_version_form(array $form, array &$form_stat
$form_state['datastream'] = $datastream;
$form_state['datastream'] = $datastream;
$form_state['version'] = $version;
$form_state['version'] = $version;
return confirm_form($form,
return confirm_form($form, t('Are you sure you want to delete version @version of the @dsid datastream?', array('@dsid' => $datastream->id, '@version' => $version)), "islandora/object/{$datastream->parent->id}", t('This action cannot be undone.'), t('Delete'), t('Cancel')
t('Are you sure you want to delete version @version of the @dsid datastream?', array('@dsid' => $datastream->id, '@version' => $version)),
"islandora/object/{$datastream->parent->id}",
t('This action cannot be undone.'),
t('Delete'),
t('Cancel')
);
);
}
}
@ -157,12 +174,7 @@ function islandora_revert_datastream_version_form(array $form, array &$form_stat
return confirm_form($form, t('Are you sure you want to revert to version @version of the @dsid datastream?', array('@dsid' => $datastream->id, '@version' => $version)), "islandora/object/{$datastream->parent->id}", "", t('Revert'), t('Cancel')
t('Are you sure you want to revert to version @version of the @dsid datastream?', array('@dsid' => $datastream->id, '@version' => $version)),
"islandora/object/{$datastream->parent->id}",
"",
t('Revert'),
t('Cancel')
);
);
}
}
@ -208,3 +220,39 @@ function islandora_revert_datastream_version_form_submit(array $form, array &$fo