@faulteh Better yet, put it directly in the renderer! In !gnusocial there's a plugin called ActivityModeration, which handles the 'delete' verb, you could probably add the function 'showNoticeContent' to it (copy the barebone version from the file lib/activityhandlerplugin.php).
Instead of outputting the stored content it could do something like $out->element('em', ['class'=>'deleted'], "{$stored->getProfile()->getFancyName()} has deleted this notice.");
I could totally accept a patch for that, though localization is left up to you for practice ;) (hint: sprintf and _m).