mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 20:10:55 +01:00
Use Labels in Policy PHUIX controls
Summary: Makes labels display as labels instead of disabled controls. Test Plan: Test editing a policy in Maniphest. New UI displayed. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D12576
This commit is contained in:
parent
d78c22640b
commit
a07628031f
2 changed files with 12 additions and 12 deletions
|
@ -410,7 +410,7 @@ return array(
|
|||
'rsrc/js/application/phortune/behavior-stripe-payment-form.js' => '3f5d6dbf',
|
||||
'rsrc/js/application/phortune/behavior-test-payment-form.js' => 'fc91ab6c',
|
||||
'rsrc/js/application/phortune/phortune-credit-card-form.js' => '2290aeef',
|
||||
'rsrc/js/application/policy/behavior-policy-control.js' => 'f3fef818',
|
||||
'rsrc/js/application/policy/behavior-policy-control.js' => '1ed33505',
|
||||
'rsrc/js/application/policy/behavior-policy-rule-editor.js' => '5e9f347c',
|
||||
'rsrc/js/application/ponder/behavior-votebox.js' => '4e9b766b',
|
||||
'rsrc/js/application/projects/behavior-boards-dropdown.js' => '0ec56e1d',
|
||||
|
@ -639,7 +639,7 @@ return array(
|
|||
'javelin-behavior-pholio-mock-view' => 'e58bf807',
|
||||
'javelin-behavior-phui-object-box-tabs' => '2bfa2836',
|
||||
'javelin-behavior-phui-timeline-dropdown-menu' => '4d94d9c3',
|
||||
'javelin-behavior-policy-control' => 'f3fef818',
|
||||
'javelin-behavior-policy-control' => '1ed33505',
|
||||
'javelin-behavior-policy-rule-editor' => '5e9f347c',
|
||||
'javelin-behavior-ponder-votebox' => '4e9b766b',
|
||||
'javelin-behavior-project-boards' => '87cb6b51',
|
||||
|
@ -992,6 +992,15 @@ return array(
|
|||
'javelin-dom',
|
||||
'javelin-reactor-dom',
|
||||
),
|
||||
'1ed33505' => array(
|
||||
'javelin-behavior',
|
||||
'javelin-dom',
|
||||
'javelin-util',
|
||||
'phuix-dropdown-menu',
|
||||
'phuix-action-list-view',
|
||||
'phuix-action-view',
|
||||
'javelin-workflow',
|
||||
),
|
||||
'2035b9cb' => array(
|
||||
'javelin-behavior',
|
||||
'javelin-dom',
|
||||
|
@ -1961,15 +1970,6 @@ return array(
|
|||
'javelin-vector',
|
||||
'phabricator-hovercard',
|
||||
),
|
||||
'f3fef818' => array(
|
||||
'javelin-behavior',
|
||||
'javelin-dom',
|
||||
'javelin-util',
|
||||
'phuix-dropdown-menu',
|
||||
'phuix-action-list-view',
|
||||
'phuix-action-view',
|
||||
'javelin-workflow',
|
||||
),
|
||||
'f5d1233b' => array(
|
||||
'javelin-behavior',
|
||||
'javelin-dom',
|
||||
|
|
|
@ -27,7 +27,7 @@ JX.behavior('policy-control', function(config) {
|
|||
list.addItem(
|
||||
new JX.PHUIXActionView()
|
||||
.setName(config.labels[group])
|
||||
.setDisabled(true));
|
||||
.setLabel(true));
|
||||
|
||||
for (var jj = 0; jj < config.order[group].length; jj++) {
|
||||
var phid = config.order[group][jj];
|
||||
|
|
Loading…
Reference in a new issue