Differential D16163 Diff 38887 src/applications/maniphest/relationship/ManiphestTaskHasCommitRelationship.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/maniphest/relationship/ManiphestTaskHasCommitRelationship.php
Show All 18 Lines | final class ManiphestTaskHasCommitRelationship | ||||
public function shouldAppearInActionMenu() { | public function shouldAppearInActionMenu() { | ||||
// TODO: For now, the default search for commits is not very good, so | // TODO: For now, the default search for commits is not very good, so | ||||
// it is hard to find objects to link to. Until that works better, just | // it is hard to find objects to link to. Until that works better, just | ||||
// hide this item. | // hide this item. | ||||
return false; | return false; | ||||
} | } | ||||
public function canRelateObjects($src, $dst) { | |||||
return ($dst instanceof PhabricatorRepositoryCommit); | |||||
} | |||||
public function getDialogTitleText() { | |||||
return pht('Edit Related Commits'); | |||||
} | |||||
public function getDialogHeaderText() { | |||||
return pht('Current Commits'); | |||||
} | |||||
public function getDialogButtonText() { | |||||
return pht('Save Related Commits'); | |||||
} | |||||
} | } |