Project

General

Profile

« Previous | Next » 

Revision 489f7610

Added by Katja Luther about 5 years ago

add class specimen to page to avoid bullets for item list

View differences:

modules/cdm_dataportal/includes/pages.inc
1255 1255
      '#weight' => 2,
1256 1256
      // prefix attributes and rows with '#' to let it pass toF the theme function,
1257 1257
      // otherwise it is handled as child render array
1258
      '#attributes' => array('class' => 'specimens'),
1258

  
1259
    '#attributes' => array('class' => 'specimens'),
1259 1260
      '#rows' => array(),
1261

  
1260 1262
  );
1261 1263
  $specimen = compose_cdm_specimen_or_observation($specimen_uuid, true);
1262 1264
  $renderArray = array(
......
1272 1274
              'descriptionElement',
1273 1275
              'descriptionElement_IndividualsAssociation'
1274 1276
          ),
1277

  
1275 1278
  );
1276 1279

  
1277 1280

  
1278 1281
 // $detail_html = compose_cdm_specimen_or_observation($specimen_uuid, true);
1279
  $render_array['markup'] =  $specimen_table;
1280

  
1282
    $render_array['markup'] = array(
1283
        '#prefix' => '<div id="specimens" class="page">',
1284
        'content' => $specimen_table,
1285
        '#suffix' => '</div>',
1286
    );
1281 1287

  
1282 1288
  RenderHints::popFromRenderStack();
1283 1289
  return $render_array;

Also available in: Unified diff