Differential D20835 Diff 49676 src/applications/differential/render/DifferentialChangesetTwoUpRenderer.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/render/DifferentialChangesetTwoUpRenderer.php
Show First 20 Lines • Show All 447 Lines • ▼ Show 20 Lines | foreach ($block_list->newTwoUpLayout() as $row) { | ||||
$new_line_cell = phutil_tag( | $new_line_cell = phutil_tag( | ||||
'td', | 'td', | ||||
array( | array( | ||||
'id' => $new_id, | 'id' => $new_id, | ||||
'data-n' => $new_key, | 'data-n' => $new_key, | ||||
'class' => 'n', | 'class' => 'n', | ||||
)); | )); | ||||
$copy_gutter = phutil_tag( | |||||
'td', | |||||
array( | |||||
'class' => 'copy', | |||||
)); | |||||
$new_content_cell = phutil_tag( | $new_content_cell = phutil_tag( | ||||
'td', | 'td', | ||||
array( | array( | ||||
'class' => $new_classes, | 'class' => $new_classes, | ||||
'colspan' => '3', | 'colspan' => '2', | ||||
), | ), | ||||
$new_content); | $new_content); | ||||
$row_view = phutil_tag( | $row_view = phutil_tag( | ||||
'tr', | 'tr', | ||||
array(), | array(), | ||||
array( | array( | ||||
$old_line_cell, | $old_line_cell, | ||||
$old_content_cell, | $old_content_cell, | ||||
$new_line_cell, | $new_line_cell, | ||||
$copy_gutter, | |||||
$new_content_cell, | $new_content_cell, | ||||
)); | )); | ||||
$rows[] = array( | $rows[] = array( | ||||
$row_view, | $row_view, | ||||
$old_inline_rows, | $old_inline_rows, | ||||
$new_inline_rows, | $new_inline_rows, | ||||
); | ); | ||||
Show All 37 Lines |