mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 08:42:41 +01:00
Hide Pager border if no pager exists
Summary: I guess we have this magical method that tells me if a pager is coming down the render pipe. Huzzah. Test Plan: Test Branches page in Diffusion, see no pager border. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D18202
This commit is contained in:
parent
a6b550ba03
commit
7408483c2f
1 changed files with 3 additions and 1 deletions
|
@ -302,7 +302,9 @@ final class PHUIObjectBoxView extends AphrontTagView {
|
||||||
|
|
||||||
$pager = null;
|
$pager = null;
|
||||||
if ($this->pager) {
|
if ($this->pager) {
|
||||||
$pager = phutil_tag_div('phui-object-box-pager', $this->pager);
|
if ($this->pager->willShowPagingControls()) {
|
||||||
|
$pager = phutil_tag_div('phui-object-box-pager', $this->pager);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$content = array(
|
$content = array(
|
||||||
|
|
Loading…
Reference in a new issue