Files
phabricator/src/extensions/buildbot/controller/PhabricatorBuildbotController.php
Sergey Sharybin 320ffa2308 Fix buildbot application
Was using deprecated class.
2015-05-18 15:27:46 +05:00

41 lines
792 B
PHP

<?php
/**
* @group buildbot
*/
final class PhabricatorBuildbotController extends PhabricatorController {
public function shouldAllowPublic() {
return true;
}
public function processRequest() {
$html = '
<script type="text/javascript">
window.location = "https://builder.blender.org/download";
</script>
See <a href="https://builder.blender.org/download">builder.blender.org</a>.';
$panel = new PHUIObjectBoxView();
$panel->appendChild(phutil_safe_html($html));
$content = array(
$panel
);
$crumbs = $this->buildApplicationCrumbs();
return $this->buildApplicationPage(
array(
$crumbs,
$panel,
),
array(
'title' => 'Buildbot',
'device' => true,
));
}
}