Page MenuHomePhorge

D25658.1736648274.diff
No OneTemporary

D25658.1736648274.diff

diff --git a/src/infrastructure/diff/view/PHUIDiffTableOfContentsItemView.php b/src/infrastructure/diff/view/PHUIDiffTableOfContentsItemView.php
--- a/src/infrastructure/diff/view/PHUIDiffTableOfContentsItemView.php
+++ b/src/infrastructure/diff/view/PHUIDiffTableOfContentsItemView.php
@@ -80,30 +80,7 @@
}
public function render() {
- $changeset = $this->getChangeset();
-
- $cells = array();
-
- $cells[] = $this->getContext();
-
- $cells[] = $changeset->newFileTreeIcon();
-
- $link = $this->renderChangesetLink();
- $lines = $this->renderChangesetLines();
- $meta = $this->renderChangesetMetadata();
-
- $cells[] = array(
- $link,
- $lines,
- $meta,
- );
-
- $cells[] = $this->renderCoverage();
- $cells[] = $this->renderModifiedCoverage();
-
- $cells[] = $this->renderPackages();
-
- return $cells;
+ return array();
}
public function newLink() {
@@ -181,47 +158,6 @@
$label);
}
- private function renderChangesetMetadata() {
- $changeset = $this->getChangeset();
- $type = $changeset->getChangeType();
-
- $meta = array();
- if (DifferentialChangeType::isOldLocationChangeType($type)) {
- $away = $changeset->getAwayPaths();
- if (count($away) > 1) {
- if ($type == DifferentialChangeType::TYPE_MULTICOPY) {
- $meta[] = pht('Deleted after being copied to multiple locations:');
- } else {
- $meta[] = pht('Copied to multiple locations:');
- }
- foreach ($away as $path) {
- $meta[] = $path;
- }
- } else {
- if ($type == DifferentialChangeType::TYPE_MOVE_AWAY) {
- // This case is handled when we render the path.
- } else {
- $meta[] = pht('Copied to %s', head($away));
- }
- }
- } else if ($type == DifferentialChangeType::TYPE_COPY_HERE) {
- $meta[] = pht('Copied from %s', $changeset->getOldFile());
- }
-
- if (!$meta) {
- return null;
- }
-
- $meta = phutil_implode_html(phutil_tag('br'), $meta);
-
- return phutil_tag(
- 'div',
- array(
- 'class' => 'differential-toc-meta',
- ),
- $meta);
- }
-
public function renderPackages() {
$packages = $this->getPackages();

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 12, 02:17 (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1111702
Default Alt Text
D25658.1736648274.diff (2 KB)

Event Timeline