Add html instructions for diff/patch, todo and design tasks.
This commit is contained in:
@@ -53,11 +53,11 @@ final class DifferentialDiffCreateController extends DifferentialController {
|
||||
|
||||
$cancel_uri = $this->getApplicationURI();
|
||||
|
||||
if (PhabricatorEnv::getEnvConfig('patch_guidelines.file') !== null) {
|
||||
if (PhabricatorEnv::getEnvConfig('diff_guidelines.file') !== null) {
|
||||
$webroot = dirname(phutil_get_library_root('phabricator')).'/webroot/';
|
||||
$instructions = phutil_safe_html(
|
||||
FileSystem::readFile($webroot .
|
||||
PhabricatorEnv::getEnvConfig('patch_guidelines.file')));
|
||||
PhabricatorEnv::getEnvConfig('diff_guidelines.file')));
|
||||
} else {
|
||||
$instructions = pht(
|
||||
'The best way to create a Differential diff is by using %s, but you '.
|
||||
|
||||
Reference in New Issue
Block a user