diff --git a/plugins/ShowStreamsInFieldSets.inc b/plugins/ShowStreamsInFieldSets.inc index c3734334..1607349c 100644 --- a/plugins/ShowStreamsInFieldSets.inc +++ b/plugins/ShowStreamsInFieldSets.inc @@ -75,9 +75,15 @@ class ShowStreamsInFieldSets { ); $objectHelper = new ObjectHelper(); $item = new Fedora_Item($this->pid); - + if (key_exists('TN', $item->datastreams)) { + $tn_url = $base_url.'/fedora/repository/'.$item->pid.'/TN'; + } + else { + $tn_url = $base_path.drupal_get_path('module', 'fedora_repository').'/images/Crystal_Clear_app_download_manager.png'; + } $dc_html = $objectHelper->getFormattedDC($item); - $dl_link = l('