Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14406912
D9794.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
713 B
Referenced Files
None
Subscribers
None
D9794.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D9794: Add a header warning to revisions that need a legal document signature
Attached
Detach File
Event Timeline
Log In to Comment