Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F949411
PHUIDiffInlineCommentUndoView.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
642 B
Referenced Files
None
Subscribers
None
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
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
));
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Jun 17, 1:28 PM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
223775
Default Alt Text
PHUIDiffInlineCommentUndoView.php (642 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment