Add html instructions for diff/patch, todo and design tasks.

This commit is contained in:
2013-11-08 19:30:04 +01:00
parent 458bc7f921
commit 4ea26f22c4
10 changed files with 123 additions and 15 deletions

View File

@@ -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 '.