mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-24 06:20:56 +01:00
Add a header warning to revisions that need a legal document signature
Summary: This supplements the footer warning and makes it more visible for authors. Test Plan: {F173277} Reviewers: btrahan, chad Reviewed By: chad Subscribers: epriestley Differential Revision: https://secure.phabricator.com/D9794
This commit is contained in:
parent
5a158b5b19
commit
20446252ff
1 changed files with 12 additions and 0 deletions
|
@ -130,5 +130,17 @@ final class DifferentialRequiredSignaturesField
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getWarningsForRevisionHeader(array $handles) {
|
||||||
|
if (!$this->haveAnyUnsignedDocuments()) {
|
||||||
|
return array();
|
||||||
|
}
|
||||||
|
|
||||||
|
return array(
|
||||||
|
pht(
|
||||||
|
'This revision can not be accepted until the required legal '.
|
||||||
|
'agreements have been signed.'),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue