Revision 3bc5398c
Added by Andreas Kohlbecker over 11 years ago
7.x/modules/cdm_dataportal/theme/cdm_dataportal.descriptions.theme | ||
---|---|---|
459 | 459 |
|
460 | 460 |
if ($asListElement) { |
461 | 461 |
|
462 |
$out = '<li class="descriptionText DescriptionElement">' . $name_used_in_source_link_to_show;
|
|
462 |
$out = '<li class="descriptionText DescriptionElement">';
|
|
463 | 463 |
// Adding ":" if necessary. |
464 |
if ($name_used_in_source_link_to_show && ($description || $sourceRefs)) { |
|
465 |
$out .= ': '; |
|
464 |
if (!empty($name_used_in_source_link_to_show)) { |
|
465 |
if ( (!empty($description)|| !empty($sourceRefs)) && $feature_uuid != UUID_CHROMOSOMES_NUMBERS) { |
|
466 |
$out .= $name_used_in_source_link_to_show . ': '; |
|
467 |
} else { |
|
468 |
$out .= $name_used_in_source_link_to_show . ' '; |
|
469 |
} |
|
466 | 470 |
} |
467 | 471 |
$out .= $description . $sourceRefs . theme('cdm_annotations_as_footnotekeys', array('cdmBase_list' => $element, 'footnote_list_key' => $feature_uuid)) . '</li>'; |
468 | 472 |
} |
Also available in: Unified diff
adding missing whitespace