@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
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Allow `AphrontTagView` subclasses to wrap their tag in a container

Summary: See Conpherence discussion. This probably works?

Test Plan:
Didn't test at all!

bwahaha

Reviewers: chad

Reviewed By: chad

CC: aran

Differential Revision: https://secure.phabricator.com/D6120

+7 -2
+7 -2
src/view/AphrontTagView.php
··· 14 14 private $mustCapture; 15 15 private $workflow; 16 16 17 - 18 17 public function setWorkflow($workflow) { 19 18 $this->workflow = $workflow; 20 19 return $this; ··· 90 89 return $this->renderChildren(); 91 90 } 92 91 92 + protected function renderTagContainer($tag) { 93 + return $tag; 94 + } 95 + 93 96 protected function willRender() { 94 97 return; 95 98 } ··· 151 154 } 152 155 } 153 156 154 - return javelin_tag( 157 + $tag = javelin_tag( 155 158 $this->getTagName(), 156 159 $attributes, 157 160 $this->getTagContent()); 161 + 162 + return $this->renderTagContainer($tag); 158 163 } 159 164 }