Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15420225
D19355.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
683 B
Referenced Files
None
Subscribers
None
D19355.diff
View Options
diff --git a/src/applications/almanac/servicetype/AlmanacClusterRepositoryServiceType.php b/src/applications/almanac/servicetype/AlmanacClusterRepositoryServiceType.php
--- a/src/applications/almanac/servicetype/AlmanacClusterRepositoryServiceType.php
+++ b/src/applications/almanac/servicetype/AlmanacClusterRepositoryServiceType.php
@@ -20,7 +20,11 @@
public function getFieldSpecifications() {
return array(
- 'closed' => id(new PhabricatorTextEditField()),
+ 'closed' => id(new PhabricatorBoolEditField())
+ ->setOptions(
+ pht('Allow New Repositories'),
+ pht('Prevent New Repositories'))
+ ->setValue(false),
);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 22, 12:19 PM (2 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7716979
Default Alt Text
D19355.diff (683 B)
Attached To
Mode
D19355: Turn the "closed" property on cluster repositories into a nice boolean
Attached
Detach File
Event Timeline
Log In to Comment