Project

General

Profile

« Previous | Next » 

Revision fe169cb6

Added by Andreas Kohlbecker almost 4 years 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