Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93085686
PHUIDiffInlineCommentUndoView.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
Tue, Nov 26, 02:43
Size
698 B
Mime Type
text/x-php
Expires
Thu, Nov 28, 02:43 (1 d, 22 h)
Engine
blob
Format
Raw Data
Handle
22569886
Attached To
rPH Phabricator
PHUIDiffInlineCommentUndoView.php
View Options
<?php
/**
* Render the "Undo" action to recover discarded inline comments.
*
* This extends @{class:PHUIDiffInlineCommentView} so it can use the same
* scaffolding code as other kinds of inline comments.
*/
final
class
PHUIDiffInlineCommentUndoView
extends
PHUIDiffInlineCommentView
{
public
function
isHideable
()
{
return
false
;
}
public
function
render
()
{
$link
=
javelin_tag
(
'a'
,
array
(
'href'
=>
'#'
,
'sigil'
=>
'differential-inline-comment-undo'
,
),
pht
(
'Undo'
));
return
phutil_tag
(
'div'
,
array
(
'class'
=>
'differential-inline-undo'
,
),
array
(
pht
(
'Changes discarded. '
),
$link
));
}
}
Event Timeline
Log In to Comment