Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phragment/controller/PhragmentController.php
| Show First 20 Lines • Show All 193 Lines • ▼ Show 20 Lines | return id(new PHUIObjectBoxView()) | ||||
| ->setHeader($header) | ->setHeader($header) | ||||
| ->addPropertyList($properties); | ->addPropertyList($properties); | ||||
| } | } | ||||
| public function renderConfigurationWarningIfRequired() { | public function renderConfigurationWarningIfRequired() { | ||||
| $alt = PhabricatorEnv::getEnvConfig('security.alternate-file-domain'); | $alt = PhabricatorEnv::getEnvConfig('security.alternate-file-domain'); | ||||
| if ($alt === null) { | if ($alt === null) { | ||||
| return id(new PHUIInfoView()) | return id(new PHUIInfoView()) | ||||
| ->setTitle(pht('security.alternate-file-domain must be configured!')) | ->setTitle(pht( | ||||
| '%s must be configured!', | |||||
| 'security.alternate-file-domain')) | |||||
| ->setSeverity(PHUIInfoView::SEVERITY_ERROR) | ->setSeverity(PHUIInfoView::SEVERITY_ERROR) | ||||
| ->appendChild( | ->appendChild( | ||||
| phutil_tag( | phutil_tag( | ||||
| 'p', | 'p', | ||||
| array(), | array(), | ||||
| pht( | pht( | ||||
| "Because Phragment generates files (such as ZIP archives and ". | "Because Phragment generates files (such as ZIP archives and ". | ||||
| "patches) as they are requested, it requires that you configure ". | "patches) as they are requested, it requires that you configure ". | ||||
| Show All 21 Lines | |||||