mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-04 20:52:42 +01:00
0b45ec30be
Summary: - `kill_init.php` - Manually change library map. - Manually rename `/data/` test dirs. - [src/lint/linter] `git mv base/ArcanistLinterTestCase.php __tests__/` - `arc liberate` Test Plan: Browse around to make sure I like it better, especially `repository/api`, and `workflow`. Reviewers: epriestley Reviewed By: epriestley CC: aran, Koolvin Maniphest Tasks: T1103 Differential Revision: https://secure.phabricator.com/D2637
44 lines
No EOL
1.4 KiB
Text
44 lines
No EOL
1.4 KiB
Text
diff --git a/lib/display/intern/ui/widget/UIWidgetLunchtime.php b/flib/intern/widgets/ui/UIWidgetGraphConnect.php
|
|
similarity index 57%
|
|
copy from lib/display/intern/ui/widget/UIWidgetLunchtime.php
|
|
copy to flib/intern/widgets/ui/UIWidgetGraphConnect.php
|
|
index 71268f0..ab5a8a8 100644
|
|
--- a/lib/display/intern/ui/widget/UIWidgetLunchtime.php
|
|
+++ b/flib/intern/widgets/ui/UIWidgetGraphConnect.php
|
|
@@ -2,11 +2,12 @@
|
|
// Copyright 2004-present Facebook. All Rights Reserved.
|
|
|
|
/**
|
|
- * A box for lunchtime
|
|
+ * A box for connecting to the subject, could be adding a tag, adding a friend,
|
|
+ * etc...
|
|
*
|
|
* @author mnovati
|
|
*/
|
|
-class UIWidgetLunchtime extends UIWidgetBox {
|
|
+class UIWidgetGraphConnect extends UIWidgetBox {
|
|
|
|
protected $controller = 'UIWidget';
|
|
|
|
@@ -17,7 +18,9 @@ class UIWidgetLunchtime extends UIWidgetBox {
|
|
*/
|
|
protected function doSetup() {
|
|
parent::doSetup();
|
|
- $this->addClass('UIWidgetLunchtime');
|
|
+
|
|
+ require_static('UIWidgetGraphConnect-css');
|
|
+ $this->addClass('UIWidgetGraphConnect');
|
|
$this->addClass('clearfix');
|
|
}
|
|
|
|
@@ -28,9 +31,7 @@ class UIWidgetLunchtime extends UIWidgetBox {
|
|
* @author mnovati
|
|
*/
|
|
public function setupContent() {
|
|
- $this->setupPagelet('/intern/widget/pagelet/lunch.php',
|
|
- $context = array(),
|
|
- $is_async = true);
|
|
+ $this->setupPagelet('/intern/widget/pagelet/graph_connect.php');
|
|
}
|
|
|
|
} |