Differential D25398 Diff 1303 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 502 Lines • ▼ Show 20 Lines | if ($browse_paths) { | ||||
$browse_table->setPaths(array()); | $browse_table->setPaths(array()); | ||||
} | } | ||||
$browse_uri = $drequest->generateURI(array('action' => 'browse')); | $browse_uri = $drequest->generateURI(array('action' => 'browse')); | ||||
$pager->setURI($browse_uri, 'offset'); | $pager->setURI($browse_uri, 'offset'); | ||||
$repository_name = $repository->getName(); | $repository_name = $repository->getName(); | ||||
$branch_name = $drequest->getBranch(); | $branch_name = $drequest->getBranch(); | ||||
if (strlen($branch_name)) { | if (phutil_nonempty_string($branch_name)) { | ||||
$repository_name .= ' ('.$branch_name.')'; | $repository_name .= ' ('.$branch_name.')'; | ||||
} | } | ||||
$header = phutil_tag( | $header = phutil_tag( | ||||
'a', | 'a', | ||||
array( | array( | ||||
'href' => $browse_uri, | 'href' => $browse_uri, | ||||
'class' => 'diffusion-view-browse-header', | 'class' => 'diffusion-view-browse-header', | ||||
Show All 26 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0