Project

General

Profile

« Previous | Next » 

Revision b0efd824

Added by Patrick Plitzner almost 6 years ago

Adjust specimen type designation display

View differences:

modules/cdm_dataportal/includes/occurrences.inc
63 63
    if (isset($specimen->types)) {
64 64
        //typed taxa
65 65
        foreach ($specimen->types as $typeStatus => $typedTaxa) {
66
            if($is_specimen_page){
67
                if($specimen->types){
68
                    $detail_html .= "<i>".$typeStatus."</i>: ";
69
                    foreach($typedTaxa as $typedTaxon){
70
                        $detail_html .= $typedTaxon." ";
71
                    }
72
                    $detail_html .= "<br>";
66
            if($specimen->types){
67
                $detail_html .= "<i>".$typeStatus."</i> of ";
68
                foreach($typedTaxa as $typedTaxon){
69
                    $detail_html .= $typedTaxon." ";
73 70
                }
74
            }
75
            else{
76
                $types .= $typeStatus." ";
71
                $detail_html .= "<br>";
77 72
            }
78 73
        }
79 74
    }

Also available in: Unified diff