Differential D17377 Diff 41804 src/applications/diffusion/controller/DiffusionRepositoryController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/controller/DiffusionRepositoryController.php
Show First 20 Lines • Show All 440 Lines • ▼ Show 20 Lines | $table = id(new DiffusionBranchTableView()) | ||||
->setCommits($commits); | ->setCommits($commits); | ||||
$panel = id(new PHUIObjectBoxView()) | $panel = id(new PHUIObjectBoxView()) | ||||
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY); | ->setBackground(PHUIObjectBoxView::BLUE_PROPERTY); | ||||
$header = new PHUIHeaderView(); | $header = new PHUIHeaderView(); | ||||
$header->setHeader(pht('Branches')); | $header->setHeader(pht('Branches')); | ||||
if ($more_branches) { | if ($more_branches) { | ||||
$header->setSubHeader(pht('Showing %d branches.', $limit)); | $header->setSubheader(pht('Showing %d branches.', $limit)); | ||||
} | } | ||||
$button = new PHUIButtonView(); | $button = new PHUIButtonView(); | ||||
$button->setText(pht('Show All')); | $button->setText(pht('Show All')); | ||||
$button->setTag('a'); | $button->setTag('a'); | ||||
$button->setIcon('fa-code-fork'); | $button->setIcon('fa-code-fork'); | ||||
$button->setHref($drequest->generateURI( | $button->setHref($drequest->generateURI( | ||||
array( | array( | ||||
▲ Show 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | private function buildTagListTable(DiffusionRequest $drequest) { | ||||
$handles = $this->loadViewerHandles($phids); | $handles = $this->loadViewerHandles($phids); | ||||
$view->setHandles($handles); | $view->setHandles($handles); | ||||
$panel = new PHUIObjectBoxView(); | $panel = new PHUIObjectBoxView(); | ||||
$header = new PHUIHeaderView(); | $header = new PHUIHeaderView(); | ||||
$header->setHeader(pht('Tags')); | $header->setHeader(pht('Tags')); | ||||
if ($more_tags) { | if ($more_tags) { | ||||
$header->setSubHeader( | $header->setSubheader( | ||||
pht('Showing the %d most recent tags.', $tag_limit)); | pht('Showing the %d most recent tags.', $tag_limit)); | ||||
} | } | ||||
$button = new PHUIButtonView(); | $button = new PHUIButtonView(); | ||||
$button->setText(pht('Show All Tags')); | $button->setText(pht('Show All Tags')); | ||||
$button->setTag('a'); | $button->setTag('a'); | ||||
$button->setIcon('fa-tag'); | $button->setIcon('fa-tag'); | ||||
$button->setHref($drequest->generateURI( | $button->setHref($drequest->generateURI( | ||||
▲ Show 20 Lines • Show All 238 Lines • Show Last 20 Lines |