Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14030527
D14815.id35816.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
D14815.id35816.diff
View Options
diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -7,7 +7,7 @@
*/
return array(
'names' => array(
- 'core.pkg.css' => 'cc8abd0e',
+ 'core.pkg.css' => 'faa11cbc',
'core.pkg.js' => 'e0379ae5',
'darkconsole.pkg.js' => 'e7393ebb',
'differential.pkg.css' => '2de124c9',
@@ -138,7 +138,7 @@
'rsrc/css/phui/phui-image-mask.css' => '5a8b09c8',
'rsrc/css/phui/phui-info-panel.css' => '27ea50a1',
'rsrc/css/phui/phui-info-view.css' => '6d7c3509',
- 'rsrc/css/phui/phui-list.css' => '125599df',
+ 'rsrc/css/phui/phui-list.css' => 'a789942a',
'rsrc/css/phui/phui-object-box.css' => '407eaf5a',
'rsrc/css/phui/phui-object-item-list-view.css' => '26c30d3f',
'rsrc/css/phui/phui-pager.css' => 'bea33d23',
@@ -812,7 +812,7 @@
'phui-info-panel-css' => '27ea50a1',
'phui-info-view-css' => '6d7c3509',
'phui-inline-comment-view-css' => '0fdb3667',
- 'phui-list-view-css' => '125599df',
+ 'phui-list-view-css' => 'a789942a',
'phui-object-box-css' => '407eaf5a',
'phui-object-item-list-view-css' => '26c30d3f',
'phui-pager-css' => 'bea33d23',
diff --git a/src/applications/transactions/editengine/PhabricatorEditEngine.php b/src/applications/transactions/editengine/PhabricatorEditEngine.php
--- a/src/applications/transactions/editengine/PhabricatorEditEngine.php
+++ b/src/applications/transactions/editengine/PhabricatorEditEngine.php
@@ -1741,7 +1741,8 @@
->setName($group_name);
foreach ($configs as $config) {
- $items[] = $this->newQuickCreateItem($config);
+ $items[] = $this->newQuickCreateItem($config)
+ ->setIndented(true);
}
}
diff --git a/src/view/phui/PHUIListItemView.php b/src/view/phui/PHUIListItemView.php
--- a/src/view/phui/PHUIListItemView.php
+++ b/src/view/phui/PHUIListItemView.php
@@ -28,6 +28,7 @@
private $order;
private $aural;
private $profileImage;
+ private $indented;
public function setDropdownMenu(PhabricatorActionListView $actions) {
Javelin::initBehavior('phui-dropdown-menu');
@@ -91,6 +92,15 @@
return $this->icon;
}
+ public function setIndented($indented) {
+ $this->indented = $indented;
+ return $this;
+ }
+
+ public function getIndented() {
+ return $this->indented;
+ }
+
public function setKey($key) {
$this->key = (string)$key;
return $this;
@@ -256,11 +266,20 @@
->setIconFont($this->appIcon);
}
+ $classes = array();
+ if ($this->href) {
+ $classes[] = 'phui-list-item-href';
+ }
+
+ if ($this->indented) {
+ $classes[] = 'phui-list-item-indented';
+ }
+
return javelin_tag(
$this->href ? 'a' : 'div',
array(
'href' => $this->href,
- 'class' => $this->href ? 'phui-list-item-href' : null,
+ 'class' => implode(' ', $classes),
'meta' => $meta,
'sigil' => $sigil,
),
diff --git a/webroot/rsrc/css/phui/phui-list.css b/webroot/rsrc/css/phui/phui-list.css
--- a/webroot/rsrc/css/phui/phui-list.css
+++ b/webroot/rsrc/css/phui/phui-list.css
@@ -70,6 +70,11 @@
padding: 4px 10px;
}
+.phui-list-sidenav .phui-list-item-has-icon .phui-list-item-indented {
+ padding-left: 18px;
+}
+
+
.device-desktop .phui-list-sidenav .phui-list-item-href:hover {
background: {$sky};
color: white;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 10, 4:09 AM (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6711410
Default Alt Text
D14815.id35816.diff (3 KB)
Attached To
Mode
D14815: Indent multiple items from the same application in Quick Create menu
Attached
Detach File
Event Timeline
Log In to Comment