Revision 48b3aa4e
Added by Andreas Kohlbecker about 3 years ago
modules/cdm_dataportal/includes/occurrences_new.inc | ||
---|---|---|
34 | 34 |
* |
35 | 35 |
*/ |
36 | 36 |
function compose_specimen_table_top_down_new(array $root_unit_dtos) { |
37 |
// add icons |
|
38 |
$expand_icon = font_awesome_icon_markup( |
|
39 |
'fa-plus-square-o', |
|
40 |
[ |
|
41 |
'alt' => 'Show details', |
|
42 |
'class' => ['expand_icon'], |
|
43 |
] |
|
44 |
); |
|
45 |
$collapse_icon = font_awesome_icon_markup( |
|
46 |
'fa-minus-square-o', |
|
47 |
[ |
|
48 |
'alt' => 'Show details', |
|
49 |
'class' => ['collapse_icon'], |
|
50 |
] |
|
51 |
); |
|
52 | 37 |
|
53 | 38 |
$derivation_tree = derived_units_tree($root_unit_dtos); |
54 | 39 |
|
Also available in: Unified diff
ref #7599 removing unused code