Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F108037634
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
Sun, Apr 13, 11:39
Size
717 B
Mime Type
text/x-php
Expires
Tue, Apr 15, 11:39 (2 d)
Engine
blob
Format
Raw Data
Handle
25525063
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