Differential D16294 Diff 39190 src/applications/calendar/application/PhabricatorCalendarApplication.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/calendar/application/PhabricatorCalendarApplication.php
Show First 20 Lines • Show All 77 Lines • ▼ Show 20 Lines | return array( | ||||
'summary' => pht( | 'summary' => pht( | ||||
'This page documents the commands you can use to interact with '. | 'This page documents the commands you can use to interact with '. | ||||
'events in Calendar. These commands work when creating new tasks '. | 'events in Calendar. These commands work when creating new tasks '. | ||||
'via email and when replying to existing tasks.'), | 'via email and when replying to existing tasks.'), | ||||
), | ), | ||||
); | ); | ||||
} | } | ||||
protected function getCustomCapabilities() { | |||||
return array( | |||||
PhabricatorCalendarEventDefaultViewCapability::CAPABILITY => array( | |||||
'caption' => pht('Default view policy for newly created events.'), | |||||
'template' => PhabricatorCalendarEventPHIDType::TYPECONST, | |||||
'capability' => PhabricatorPolicyCapability::CAN_VIEW, | |||||
), | |||||
PhabricatorCalendarEventDefaultEditCapability::CAPABILITY => array( | |||||
'caption' => pht('Default edit policy for newly created events.'), | |||||
'template' => PhabricatorCalendarEventPHIDType::TYPECONST, | |||||
'capability' => PhabricatorPolicyCapability::CAN_EDIT, | |||||
), | |||||
); | |||||
} | |||||
} | } |