Merge branch 'master' into redesign-2015

This commit is contained in:
epriestley
2015-07-03 13:05:16 -07:00
13 changed files with 126 additions and 81 deletions

View File

@@ -31,11 +31,7 @@ final class PhabricatorSpacesApplication extends PhabricatorApplication {
}
public function canUninstall() {
return true;
}
public function isPrototype() {
return true;
return false;
}
public function getHelpDocumentationArticles(PhabricatorUser $viewer) {

View File

@@ -0,0 +1,20 @@
<?php
final class PhabricatorSpacesNoAccessController
extends PhabricatorSpacesController {
public function handleRequest(AphrontRequest $request) {
return $this->newDialog()
->setTitle(pht('No Access to Spaces'))
->appendParagraph(
pht(
'This install uses spaces to organize objects, but your account '.
'does not have access to any spaces.'))
->appendParagraph(
pht(
'Ask someone to add you to a Space so you can view and create '.
'objects.'))
->addCancelButton('/', pht('Drift Aimlessly'));
}
}