Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15419193
D15455.id37246.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D15455.id37246.diff
View Options
diff --git a/src/view/phui/PHUITwoColumnView.php b/src/view/phui/PHUITwoColumnView.php
--- a/src/view/phui/PHUITwoColumnView.php
+++ b/src/view/phui/PHUITwoColumnView.php
@@ -8,6 +8,7 @@
private $fluid;
private $header;
private $subheader;
+ private $footer;
private $propertySection = array();
private $actionList;
private $propertyList;
@@ -36,6 +37,11 @@
return $this;
}
+ public function setFooter($footer) {
+ $this->footer = $footer;
+ return $this;
+ }
+
public function addPropertySection($title, $section) {
$this->propertySection[] = array($title, $section);
return $this;
@@ -101,6 +107,8 @@
$main = $this->buildMainColumn();
$side = $this->buildSideColumn();
+ $footer = $this->buildFooter();
+
$order = array($side, $main);
$inner = phutil_tag_div('phui-two-column-row grouped', $order);
@@ -138,6 +146,7 @@
$header,
$subheader,
$table,
+ $footer,
));
}
@@ -197,4 +206,18 @@
$this->sideColumn,
));
}
+
+ private function buildFooter() {
+ $footer = $this->footer;
+
+ return phutil_tag(
+ 'div',
+ array(
+ 'class' => 'phui-two-column-content phui-two-column-footer',
+ ),
+ array(
+ $footer,
+ ));
+
+ }
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 22, 4:22 AM (2 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7716419
Default Alt Text
D15455.id37246.diff (1 KB)
Attached To
Mode
D15455: Add a footer to PHUITwoColumnView
Attached
Detach File
Event Timeline
Log In to Comment