Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/view/DifferentialChangesetListView.php
Show First 20 Lines • Show All 323 Lines • ▼ Show 20 Lines | private function renderViewOptionsDropdown( | ||||
} | } | ||||
$meta['containerID'] = $detail->getID(); | $meta['containerID'] = $detail->getID(); | ||||
$caret = phutil_tag('span', array('class' => 'caret'), ''); | $caret = phutil_tag('span', array('class' => 'caret'), ''); | ||||
return javelin_tag( | return javelin_tag( | ||||
'a', | 'a', | ||||
array( | array( | ||||
'class' => 'button grey small dropdown', | 'class' => 'button grey dropdown', | ||||
'meta' => $meta, | 'meta' => $meta, | ||||
'href' => idx($meta, 'detailURI', '#'), | 'href' => idx($meta, 'detailURI', '#'), | ||||
'target' => '_blank', | 'target' => '_blank', | ||||
'sigil' => 'differential-view-options', | 'sigil' => 'differential-view-options', | ||||
), | ), | ||||
array(pht('View Options'), $caret)); | array(pht('View Options'), $caret)); | ||||
} | } | ||||
} | } |