Page MenuHomePhabricator

D9794.diff
No OneTemporary

D9794.diff

diff --git a/src/applications/differential/customfield/DifferentialRequiredSignaturesField.php b/src/applications/differential/customfield/DifferentialRequiredSignaturesField.php
--- a/src/applications/differential/customfield/DifferentialRequiredSignaturesField.php
+++ b/src/applications/differential/customfield/DifferentialRequiredSignaturesField.php
@@ -130,5 +130,17 @@
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.'),
+ );
+ }
+
}

File Metadata

Mime Type
text/plain
Expires
Tue, Dec 24, 10:50 PM (48 m, 4 s)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6923910
Default Alt Text
D9794.diff (713 B)

Event Timeline