Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97604759
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, Jan 5, 15:56
Size
717 B
Mime Type
text/x-php
Expires
Tue, Jan 7, 15:56 (2 d)
Engine
blob
Format
Raw Data
Handle
23363005
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