1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 01:08:50 +02:00

Make projects appear in all mailable tokenizers

Summary: Ref T4361. Projects are mailable now, so let them show up in mail contexts.

Test Plan: Added a project as a CC to a task, filtered by project CCs, etc.

Reviewers: btrahan, zeeg, dctrwatson

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T4361

Differential Revision: https://secure.phabricator.com/D8274
This commit is contained in:
epriestley 2014-02-18 16:32:41 -08:00
parent 3103ce33b8
commit 79fa0b0397
2 changed files with 3 additions and 2 deletions

View file

@ -63,6 +63,7 @@ final class PhabricatorTypeaheadCommonDatasourceController
case 'allmailable':
$need_users = true;
$need_lists = true;
$need_projs = true;
break;
case 'projects':
$need_projs = true;

View file

@ -88,8 +88,8 @@ final class AphrontFormTokenizerControl extends AphrontFormControl {
'usersorprojects' => pht('Type a user or project name...'),
'searchowner' => pht('Type a user name...'),
'accounts' => pht('Type a user name...'),
'mailable' => pht('Type a user or mailing list...'),
'allmailable' => pht('Type a user or mailing list...'),
'mailable' => pht('Type a user, project, or mailing list...'),
'allmailable' => pht('Type a user, project, or mailing list...'),
'searchproject' => pht('Type a project name...'),
'projects' => pht('Type a project name...'),
'repositories' => pht('Type a repository name...'),