1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 01:08:50 +02: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:
Alan Huang 2012-07-20 14:04:28 -07:00
parent 9be12551a9
commit f5c08f113e

View file

@ -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>');