File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
themes/simple/templates/modules Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 2020 { foreach $rows as $row }
2121 <tr id =" { $row .id} " { if isset($row .class)} class =" { $row .class} " { /if } { if isset($exportMode )} style =" { $rowsStyle } " { /if } >
2222 { foreach $row .data as $key => $cell }
23- <td { if isset($row .colspan)} colspan =" { $row .colspan} " { /if } style =" text-align :{$columnAlign[$key]};" >{ $cell } </td >
23+ { if $cell |is_array && $cell [' order' ]|isset}
24+ <td { if isset($row .colspan)} colspan =" { $row .colspan} " { /if } data-order =" { $cell [' order' ]} " style =" text-align :{$columnAlign[$key]};" >{ $cell [' value' ]} </td >
25+ { else }
26+ <td { if isset($row .colspan)} colspan =" { $row .colspan} " { /if } style =" text-align :{$columnAlign[$key]};" >{ $cell } </td >
27+ { /if }
2428 { /foreach }
2529 </tr >
2630 { /foreach }
2731 { /if }
2832 </tbody >
29- </table >
33+ </table >
You can’t perform that action at this time.
0 commit comments