mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 01:10:58 +01:00
[Redesign] Fix Spaces Policy Dialog
Summary: Ref T8099, Missed this when testing Spaces. Adds proper list formatting. Test Plan: Review Policy when object is higher or lower than default. Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin Maniphest Tasks: T8099 Differential Revision: https://secure.phabricator.com/D13478
This commit is contained in:
parent
6fef37ddb5
commit
92c97b6a4e
1 changed files with 1 additions and 5 deletions
|
@ -144,12 +144,8 @@ final class PhabricatorPolicyExplainController
|
||||||
$items = array();
|
$items = array();
|
||||||
$items[] = $space_explanation;
|
$items[] = $space_explanation;
|
||||||
|
|
||||||
foreach ($items as $key => $item) {
|
|
||||||
$items[$key] = phutil_tag('li', array(), $item);
|
|
||||||
}
|
|
||||||
|
|
||||||
$dialog->appendParagraph(pht('Users who can see objects in this space:'));
|
$dialog->appendParagraph(pht('Users who can see objects in this space:'));
|
||||||
$dialog->appendChild(phutil_tag('ul', array(), $items));
|
$dialog->appendList($items);
|
||||||
|
|
||||||
$view_capability = PhabricatorPolicyCapability::CAN_VIEW;
|
$view_capability = PhabricatorPolicyCapability::CAN_VIEW;
|
||||||
if ($capability == $view_capability) {
|
if ($capability == $view_capability) {
|
||||||
|
|
Loading…
Reference in a new issue