Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101956511
ManiphestTaskEditEngineLock.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Feb 15, 14:09
Size
717 B
Mime Type
text/x-php
Expires
Mon, Feb 17, 14:09 (2 d)
Engine
blob
Format
Raw Data
Handle
24252348
Attached To
rPH Phabricator
ManiphestTaskEditEngineLock.php
View Options
<?php
final
class
ManiphestTaskEditEngineLock
extends
PhabricatorEditEngineLock
{
public
function
willPromptUserForLockOverrideWithDialog
(
AphrontDialogView
$dialog
)
{
return
$dialog
->
setTitle
(
pht
(
'Edit Locked Task'
))
->
appendParagraph
(
pht
(
'This task is locked. Edit it anyway?'
))
->
addSubmitButton
(
pht
(
'Override Task Lock'
));
}
public
function
willBlockUserInteractionWithDialog
(
AphrontDialogView
$dialog
)
{
return
$dialog
->
setTitle
(
pht
(
'Task Locked'
))
->
appendParagraph
(
pht
(
'You can not interact with this task because it is locked.'
));
}
public
function
getLockedObjectDisplayText
()
{
return
pht
(
'This task has been locked.'
);
}
}
Event Timeline
Log In to Comment