1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-12-04 20:52:42 +01:00
phorge-arcanist/src/parser/__tests__/diff/git-copy-plus.gitdiff
vrana 0b45ec30be Move files in Arcanist one level up
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
2012-06-01 11:56:00 -07:00

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');
}
}