Project

General

Profile

Revision b0efd824

IDb0efd82492c04f4e6567d2cdd620f8370453edaa
Parent f3faac87
Child baebfef3

Added by Patrick Plitzner over 3 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

Add picture from clipboard (Maximum size: 40 MB)