Project

General

Profile

« Previous | Next » 

Revision 88e622d2

Added by Andreas Kohlbecker over 4 years ago

ref #8739 indenting description table entries by character hierarchy - bugfix

View differences:

modules/cdm_dataportal/includes/descriptions.inc
1353 1353
          $sample_size_markup = '<span class="' . html_class_attribute_ref($statistical_val) . ' ' . $statistical_val->type->termType . ' ">'
1354 1354
            . '[' . $statistical_val->_value . ']</span>';
1355 1355
          break;
1356
//        case 'ExactValue':
1357
//          $value_markup = '<span class="' . html_class_attribute_ref($statistical_val) . ' ' . $statistical_val->type->termType . ' ">'
1358
//            . $statistical_val->_value . '</span>';
1359
//          break;
1356 1360
        default:
1357 1361
        $value_markup = '<span class="' . html_class_attribute_ref($statistical_val) . ' ' . $statistical_val->type->termType . ' ">'
1358 1362
          . $statistical_val->_value . '</span>';
......
1364 1368
    }
1365 1369

  
1366 1370
    $other_values_markup = trim(implode($other_values_markup, ', '));
1367
    $out .= $min_max_markup . ($other_values_markup ? '#' . $other_values_markup : '');
1371
    $out .= $min_max_markup . ($other_values_markup ? $other_values_markup : '');
1368 1372
    $out .= '</span>';
1369 1373
  }
1370 1374

  
......
2367 2371
                'data' => [
2368 2372
                  [
2369 2373
                    'data' => markup_to_render_array($level_indent . $element->feature->representation_L10n),
2370
                    'class' => 'level_' . $level
2374
                    'class' => ['level_' . $level]
2371 2375
                  ],
2372 2376
                  render_state_data($element),
2373 2377
                ],
2374
                'class' => 'level_' . $level
2378
                'class' => ['level_' . $level]
2375 2379
              ];
2376 2380
            }
2377 2381
            break;
......
2380 2384
              'data' => [
2381 2385
                [
2382 2386
                  'data' => markup_to_render_array($level_indent . $element->feature->representation_L10n),
2383
                  'class' => 'level_' . $level
2387
                  'class' => ['level_' . $level]
2384 2388
                ],
2385 2389
                render_quantitative_statistics($element)
2386 2390
              ],
2387
              'class' => 'level_' . $level
2391
              'class' => ['level_' . $level]
2388 2392
            ];
2389 2393
            break;
2390 2394
        }

Also available in: Unified diff