Revision 57e2ea1f
Added by Francisco Revilla about 14 years ago
modules/cdm_dataportal/theme/cdm_dataportal.name.theme | ||
---|---|---|
29 | 29 |
if($typeDesignation->notDesignated){ |
30 | 30 |
$out .= '<li class="nameTypeDesignation"><span class="status">Type</span>: '.t('not designated'). '</li>'; |
31 | 31 |
}else if($typeDesignation->typeName){ |
32 |
|
|
32 |
$link_to_name_page = '?q=' . path_to_name($typeDesignation->typeName->uuid); |
|
33 | 33 |
$out .= '<li class="nameTypeDesignation"><span class="status">Type</span>: '; |
34 | 34 |
|
35 | 35 |
if($typeDesignation->typeName->nomenclaturalReference){ |
36 | 36 |
$referenceUri = url(path_to_reference($typeDesignation->typeName->nomenclaturalReference->uuid)); |
37 | 37 |
} |
38 |
$out .= theme('cdm_taxonName', $typeDesignation->typeName, null, $referenceUri, $renderPath);
|
|
38 |
$out .= theme('cdm_taxonName', $typeDesignation->typeName, $link_to_name_page, $referenceUri, $renderPath);
|
|
39 | 39 |
|
40 | 40 |
// if($typeDesignation->typeName->class == 'ZoologicalName') { |
41 | 41 |
// // appending authorTeam which has been skipped in cdm_name |
... | ... | |
219 | 219 |
|
220 | 220 |
function theme_cdm_taxonName($taxonName, $nameLink = NULL, $refenceLink = NULL, $renderPath = null){ |
221 | 221 |
|
222 |
|
|
223 |
|
|
224 | 222 |
$renderTemplate = get_nameRenderTemplate($renderPath, $nameLink, $refenceLink); |
225 | 223 |
|
226 | 224 |
$partDefinition = get_partDefinition($taxonName->class); |
Also available in: Unified diff
changes related to the new dataportal name page. Tickets related with this topic which are now commited are #1496, 790 and 1354