mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01:00
Add a formatting reference link to the inline comment editor
Summary: Various text boxes have a documentation link below them. Make the Differential inline comment box one of them. Test Plan: Loaded Differential revision in sandbox. Played around with inline comments. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Maniphest Tasks: T1513 Differential Revision: https://secure.phabricator.com/D3024
This commit is contained in:
parent
9be12551a9
commit
f5c08f113e
1 changed files with 12 additions and 0 deletions
|
@ -118,6 +118,17 @@ final class DifferentialInlineCommentEditView extends AphrontView {
|
|||
'Cancel');
|
||||
|
||||
$buttons = implode('', $buttons);
|
||||
|
||||
$formatting = phutil_render_tag(
|
||||
'a',
|
||||
array(
|
||||
'href' => PhabricatorEnv::getDoclink(
|
||||
'article/Remarkup_Reference.html'),
|
||||
'tabindex' => '-1',
|
||||
'target' => '_blank',
|
||||
),
|
||||
'Formatting Reference');
|
||||
|
||||
return javelin_render_tag(
|
||||
'div',
|
||||
array(
|
||||
|
@ -136,6 +147,7 @@ final class DifferentialInlineCommentEditView extends AphrontView {
|
|||
$this->renderChildren().
|
||||
'</div>'.
|
||||
'<div class="differential-inline-comment-edit-buttons">'.
|
||||
$formatting.
|
||||
$buttons.
|
||||
'<div style="clear: both;"></div>'.
|
||||
'</div>');
|
||||
|
|
Loading…
Reference in a new issue