Project

General

Profile

« Previous | Next » 

Revision 54164245

Added by Andreas Kohlbecker almost 4 years ago

ref #9102 adapting to modified TaxonNodeDto

View differences:

modules/cdm_dataportal/includes/taxon-node.inc
45 45
        '',
46 46
        null);
47 47

  
48
      if(isset($taxon_node->nodeStatus)){
49
        $state_label = strtolower($taxon_node->nodeStatus->message_L10n);
50
        if(isset($taxon_node->statusNote_L10n->text)){
51
          $state_label .= ' <span class="status-note">(' . $taxon_node->statusNote_L10n->text . ')</span>';
48
      if(isset($taxon_node->status)){
49
        $state_label = strtolower($taxon_node->status->message_L10n);
50
        if(isset($taxon_node->statusNote_L10n)){
51
          $state_label .= ' <span class="status-note">(' . $taxon_node->statusNote_L10n . ')</span>';
52 52
        }
53 53
        $classification = cdm_ws_get(CDM_WS_CLASSIFICATION, array($taxon_node->classificationUUID));
54 54
        $status_markup_tokens[$state_label . '-' . $taxon_node->uuid]  = [

Also available in: Unified diff