Project

General

Profile

« Previous | Next » 

Revision 1f00087f

Added by Andreas Kohlbecker almost 5 years ago

name type designation status bold

View differences:

modules/cdm_dataportal/theme/cdm_dataportal.name.theme
93 93
        $is_lectotype = TRUE;
94 94
      }
95 95
      if ($type_designation->notDesignated) {
96
        $out .= '<'. $element_tag .' class="' . html_class_attribute_ref($type_designation) . '"><span class="status">' . ($is_lectotype ? 'Lectotype' : 'Type') . '</span>: ' . t('not designated') . '</'. $element_tag .'>';
96
        $out .= '<'. $element_tag .' class="' . html_class_attribute_ref($type_designation) . '"><span class="type-status">' . ($is_lectotype ? 'Lectotype' : 'Type') . '</span>: ' . t('not designated') . '</'. $element_tag .'>';
97 97
      }
98 98
      elseif ($type_designation->typeName) {
99 99
        $link_to_name_page = url(path_to_name($type_designation->typeName->uuid));
100
        $out .= '<'. $element_tag .' class="' . html_class_attribute_ref($type_designation) . '"><span class="status">' . ($is_lectotype ? 'Lectotype' : 'Type') . '</span>';
100
        $out .= '<'. $element_tag .' class="' . html_class_attribute_ref($type_designation) . '"><span class="type-status">' . ($is_lectotype ? 'Lectotype' : 'Type') . '</span>';
101 101

  
102 102
        if ($type_designation->citation) {
103 103
          $out .= type_designation_citation_layout($type_designation, $separator);

Also available in: Unified diff