Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/diff/view/PHUIDiffInlineCommentEditView.php
| Show First 20 Lines • Show All 116 Lines • ▼ Show 20 Lines | foreach ($inputs as $input) { | ||||
| )); | )); | ||||
| } | } | ||||
| return $out; | return $out; | ||||
| } | } | ||||
| private function renderBody() { | private function renderBody() { | ||||
| $buttons = array(); | $buttons = array(); | ||||
| $buttons[] = phutil_tag('button', array(), pht('Ready')); | $buttons[] = phutil_tag('button', array(), pht('Save Draft')); | ||||
| $buttons[] = javelin_tag( | $buttons[] = javelin_tag( | ||||
| 'button', | 'button', | ||||
| array( | array( | ||||
| 'sigil' => 'inline-edit-cancel', | 'sigil' => 'inline-edit-cancel', | ||||
| 'class' => 'grey', | 'class' => 'grey', | ||||
| ), | ), | ||||
| pht('Cancel')); | pht('Cancel')); | ||||
| Show All 9 Lines | $body = phutil_tag( | ||||
| array( | array( | ||||
| 'class' => 'differential-inline-comment-edit-body', | 'class' => 'differential-inline-comment-edit-body', | ||||
| ), | ), | ||||
| $this->renderChildren()); | $this->renderChildren()); | ||||
| $edit = phutil_tag( | $edit = phutil_tag( | ||||
| 'div', | 'div', | ||||
| array( | array( | ||||
| 'class' => 'differential-inline-comment-edit-buttons', | 'class' => 'differential-inline-comment-edit-buttons grouped', | ||||
| ), | ), | ||||
| array( | array( | ||||
| $buttons, | $buttons, | ||||
| phutil_tag('div', array('style' => 'clear: both'), ''), | |||||
| )); | )); | ||||
| return javelin_tag( | return javelin_tag( | ||||
| 'div', | 'div', | ||||
| array( | array( | ||||
| 'class' => 'differential-inline-comment-edit', | 'class' => 'differential-inline-comment-edit', | ||||
| 'sigil' => 'differential-inline-comment', | 'sigil' => 'differential-inline-comment', | ||||
| 'meta' => array( | 'meta' => array( | ||||
| Show All 16 Lines | |||||