Differential D21784 Diff 51940 src/applications/diffusion/controller/DiffusionRepositoryEditUpdateController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/controller/DiffusionRepositoryEditUpdateController.php
Show All 39 Lines | $doc_link = phutil_tag( | ||||
'target' => '_blank', | 'target' => '_blank', | ||||
), | ), | ||||
$doc_name); | $doc_name); | ||||
return $this->newDialog() | return $this->newDialog() | ||||
->setTitle(pht('Update Repository Now')) | ->setTitle(pht('Update Repository Now')) | ||||
->appendParagraph( | ->appendParagraph( | ||||
pht( | pht( | ||||
'Normally, Phabricator automatically updates repositories '. | 'Normally, repositories are automatically updated '. | ||||
'based on how much time has elapsed since the last commit. '. | 'based on how much time has elapsed since the last commit. '. | ||||
'This helps reduce load if you have a large number of mostly '. | 'This helps reduce load if you have a large number of mostly '. | ||||
'inactive repositories, which is common.')) | 'inactive repositories, which is common.')) | ||||
->appendParagraph( | ->appendParagraph( | ||||
pht( | pht( | ||||
'You can manually schedule an update for this repository. The '. | 'You can manually schedule an update for this repository. The '. | ||||
'daemons will perform the update as soon as possible. This may '. | 'daemons will perform the update as soon as possible. This may '. | ||||
'be helpful if you have just made a commit to a rarely used '. | 'be helpful if you have just made a commit to a rarely used '. | ||||
'repository.')) | 'repository.')) | ||||
->appendParagraph( | ->appendParagraph( | ||||
pht( | pht( | ||||
'To learn more about how Phabricator updates repositories, '. | 'To learn more about how repositories are updated, '. | ||||
'read %s in the documentation.', | 'read %s in the documentation.', | ||||
$doc_link)) | $doc_link)) | ||||
->addCancelButton($panel_uri) | ->addCancelButton($panel_uri) | ||||
->addSubmitButton(pht('Schedule Update')); | ->addSubmitButton(pht('Schedule Update')); | ||||
} | } | ||||
} | } |