Differential D25002 Diff 39 src/applications/auth/controller/config/PhabricatorAuthListController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/controller/config/PhabricatorAuthListController.php
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | foreach ($configs as $config) { | ||||
} | } | ||||
$list->addItem($item); | $list->addItem($item); | ||||
} | } | ||||
$list->setNoDataString( | $list->setNoDataString( | ||||
pht( | pht( | ||||
'%s You have not added authentication providers yet. Use "%s" to add '. | '%s You have not added authentication providers yet. Use "%s" to add '. | ||||
'a provider, which will let users register new Phabricator accounts '. | 'a provider, which will let users register new %s accounts '. | ||||
'and log in.', | 'and log in.', | ||||
phutil_tag( | phutil_tag( | ||||
'strong', | 'strong', | ||||
array(), | array(), | ||||
pht('No Providers Configured:')), | pht('No Providers Configured:')), | ||||
phutil_tag( | phutil_tag( | ||||
'a', | 'a', | ||||
array( | array( | ||||
'href' => $this->getApplicationURI('config/new/'), | 'href' => $this->getApplicationURI('config/new/'), | ||||
), | ), | ||||
pht('Add Provider')))); | pht('Add Provider')), | ||||
PhabricatorPlatformSite::getName())); | |||||
$crumbs = $this->buildApplicationCrumbs(); | $crumbs = $this->buildApplicationCrumbs(); | ||||
$crumbs->addTextCrumb(pht('Login and Registration')); | $crumbs->addTextCrumb(pht('Login and Registration')); | ||||
$crumbs->setBorder(true); | $crumbs->setBorder(true); | ||||
$guidance_context = id(new PhabricatorAuthProvidersGuidanceContext()) | $guidance_context = id(new PhabricatorAuthProvidersGuidanceContext()) | ||||
->setCanManage($can_manage); | ->setCanManage($can_manage); | ||||
▲ Show 20 Lines • Show All 47 Lines • Show Last 20 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0