diff --git a/src/applications/differential/controller/changesetview/DifferentialChangesetViewController.php b/src/applications/differential/controller/changesetview/DifferentialChangesetViewController.php index f9cd71b188..1c1f09ca22 100644 --- a/src/applications/differential/controller/changesetview/DifferentialChangesetViewController.php +++ b/src/applications/differential/controller/changesetview/DifferentialChangesetViewController.php @@ -169,6 +169,7 @@ class DifferentialChangesetViewController extends DifferentialController { $detail = new DifferentialChangesetDetailView(); $detail->setChangeset($changeset); $detail->appendChild($output); + $detail->setRevisionID($request->getInt('revision_id')); $output = '
This diff is very large and affects {$count} files. Only ". - "the first {$limit} files are shown. ". + "
This diff is very large and affects {$count} files. Use ". + "Table of Contents to open files in a standalone view. ". "". phutil_render_tag( 'a', array( 'href' => $request_uri->alter('large', 'true'), ), - 'Show All Files'). + 'Show All Files Inline'). ""); $warning = $warning->render(); - $visible_changesets = array_slice($changesets, 0, $limit, true); + $visible_changesets = array(); } else { $warning = null; $visible_changesets = $changesets; @@ -176,6 +176,9 @@ class DifferentialRevisionViewController extends DifferentialController { $toc_view = new DifferentialDiffTableOfContentsView(); $toc_view->setChangesets($changesets); + $toc_view->setStandaloneViewLink(empty($visible_changesets)); + $toc_view->setVsMap($vs_map); + $toc_view->setRevisionID($revision->getID()); $changeset_view = new DifferentialChangesetListView(); $changeset_view->setChangesets($visible_changesets); @@ -205,8 +208,8 @@ class DifferentialRevisionViewController extends DifferentialController { $revision_detail->render(). $comment_view->render(). $diff_history->render(). - $toc_view->render(). $warning. + $toc_view->render(). $changeset_view->render(). $comment_form->render(). '