Something went wrong. Try again.
@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
Something went wrong. Try again.
637 B · 29 lines
PHP
at commit 2cc898a6
123456789101112131415161718192021222324252627282930<?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('Changes discarded. ', $link)); }
}