mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-03 11:21:01 +01:00
fix inline comment for new differential fluid view
Summary: we need to render left and right* classes as appropriate, plus colspan for the right Test Plan: made inline comments and it was no longer borked Reviewers: vrana, epriestley, chad Reviewed By: chad CC: aran, Korvin Maniphest Tasks: T2005 Differential Revision: https://secure.phabricator.com/D4131
This commit is contained in:
parent
640a879438
commit
fb1a6575dc
1 changed files with 10 additions and 2 deletions
|
@ -65,9 +65,17 @@ final class DifferentialInlineCommentEditView extends AphrontView {
|
|||
$this->renderBody());
|
||||
|
||||
if ($this->onRight) {
|
||||
$core = '<th></th><td></td><th></th><td colspan="2">'.$content.'</td>';
|
||||
$core =
|
||||
'<th></th>'.
|
||||
'<td class="left"></td>'.
|
||||
'<th></th>'.
|
||||
'<td colspan="3" class="right3">'.$content.'</td>';
|
||||
} else {
|
||||
$core = '<th></th><td>'.$content.'</td><th></th><td colspan="2"></td>';
|
||||
$core =
|
||||
'<th></th>'.
|
||||
'<td class="left">'.$content.'</td>'.
|
||||
'<th></th>'.
|
||||
'<td colspan="3" class="right3"></td>';
|
||||
}
|
||||
|
||||
return '<table><tr class="inline-comment-splint">'.$core.'</tr></table>';
|
||||
|
|
Loading…
Reference in a new issue