Revision f0b0d6eb
Added by Andreas Kohlbecker over 3 years ago
modules/cdm_dataportal/includes/descriptions.inc | ||
---|---|---|
1587 | 1587 |
); |
1588 | 1588 |
|
1589 | 1589 |
|
1590 |
$status = distribution_status_label_and_markup([$description_element]); |
|
1590 |
$status = distribution_status_label_and_markup([$description_element->status]);
|
|
1591 | 1591 |
|
1592 | 1592 |
$out = ''; |
1593 | 1593 |
$out .= '<' . $enclosingTag . ' class="descriptionElement descriptionElement-' . $description_element->uuid |
... | ... | |
1617 | 1617 |
$status_label = ''; |
1618 | 1618 |
|
1619 | 1619 |
foreach($distribution_status as $status) { |
1620 |
$status_label .= (isset($status->representation_L10n) ? $status_glue : '') . $status->representation_L10n;
|
|
1620 |
$status_label .= ($status_label ? $status_glue : '') . $status->representation_L10n ;
|
|
1621 | 1621 |
$status_markup .= '<span class="distributionStatus"> ' |
1622 | 1622 |
. ($status_markup ? $status_glue : '') |
1623 | 1623 |
. '<span class="distributionStatus-' . $status->idInVocabulary . '">' |
Also available in: Unified diff
fixing bug in distribution status handling