Differential D19742 Diff 47171 src/applications/differential/mail/DifferentialInlineCommentMailView.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/mail/DifferentialInlineCommentMailView.php
Show First 20 Lines • Show All 440 Lines • ▼ Show 20 Lines | if ($is_html) { | ||||
); | ); | ||||
$link = phutil_tag( | $link = phutil_tag( | ||||
'a', | 'a', | ||||
array( | array( | ||||
'style' => implode(' ', $link_style), | 'style' => implode(' ', $link_style), | ||||
'href' => $link_href, | 'href' => $link_href, | ||||
), | ), | ||||
pht('View Inline')); | array( | ||||
pht('View Inline'), | |||||
// See PHI920. Add a space after the link so we render this into | |||||
// the document: | |||||
// | |||||
// View Inline filename.txt | |||||
// | |||||
// Otherwise, we render "Inlinefilename.txt" and double-clicking | |||||
// the file name selects the word "Inline" as well. | |||||
' ', | |||||
)); | |||||
} else { | } else { | ||||
$link = null; | $link = null; | ||||
} | } | ||||
$header = $this->renderHeaderBlock(array($link, $header)); | $header = $this->renderHeaderBlock(array($link, $header)); | ||||
} | } | ||||
return $header; | return $header; | ||||
Show All 26 Lines |