Files
phabricator/src/extensions/buildbot/controller/PhabricatorBuildbotController.php

41 lines
792 B
PHP
Raw Normal View History

<?php
/**
* @group buildbot
*/
final class PhabricatorBuildbotController extends PhabricatorController {
public function shouldAllowPublic() {
return true;
}
public function processRequest() {
$html = '
<script type="text/javascript">
2014-07-20 03:11:59 +06:00
window.location = "https://builder.blender.org/download";
</script>
2014-07-20 03:11:59 +06:00
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,
));
}
}