Project

General

Profile

Revision fe169cb6

IDfe169cb69ce782b338cfb6607c9ccbe6b2718227
Parent b339aef7
Child 31bb0452

Added by Andreas Kohlbecker 6 months ago

ref #9010 taxon node status only for taxon general and synonymy tab

View differences:

modules/cdm_dataportal/includes/pages.inc
285 285

  
286 286
  // -------------------------------------------- //
287 287

  
288
  if(variable_get(CDM_TAXONPAGE_TAXON_NODE_SHOW_STATES, 1)){
288
  if(variable_get(CDM_TAXONPAGE_TAXON_NODE_SHOW_STATES, 1) && ( $page_part == 'description' || $page_part == 'synonymy' || $page_part == 'all')){
289 289
    $taxon_nodes = cdm_ws_get(CDM_WS_PORTAL_TAXON_TAXONNODES, array($taxon->uuid));
290 290
    $render_array['taxon_node_status'] = compose_taxon_node_status($taxon_nodes);
291 291
    $render_array['taxon_node_status']['#weight'] = -100;

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)