Browse Source

Merge pull request #671 from jonathangreen/ISLANDORA-1943-1.9

Islandora-1943
pull/675/head
Jordan Dukart 8 years ago committed by GitHub
parent
commit
a2cc5d3fdd
  1. 8
      theme/theme.inc

8
theme/theme.inc

@ -60,6 +60,11 @@ function islandora_preprocess_islandora_default_edit(array &$variables) {
'datastream' => $ds,
)),
);
}
elseif (user_access(ISLANDORA_VIEW_DATASTREAM_HISTORY)) {
$row[] = array();
}
if (islandora_datastream_access(ISLANDORA_VIEW_DATASTREAM_HISTORY, $ds)) {
// Add new datastream content as the lastest version.
$row[] = array(
'class' => 'datastream-replace',
@ -68,6 +73,9 @@ function islandora_preprocess_islandora_default_edit(array &$variables) {
)),
);
}
else {
$row[] = array();
}
$row[] = array(
'class' => 'datastream-download',
'data' => theme('islandora_datastream_download_link', array(

Loading…
Cancel
Save