1
0
Fork 0
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:
Chad Little 2015-06-29 15:22:36 -07:00
parent 6fef37ddb5
commit 92c97b6a4e

View file

@ -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) {