1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +01:00

Make image macro name selectable

Test Plan: Double clicked near macro name.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3668
This commit is contained in:
vrana 2012-10-09 11:58:37 -07:00
parent 07db53b6f8
commit 4b4e140f7b

View file

@ -49,13 +49,13 @@ final class PhabricatorPinboardItemView extends AphrontView {
public function render() {
$header = null;
if ($this->header) {
$header = hsprintf('<a href="%s">%s</a>', $this->uri, $this->header);
$header = phutil_render_tag(
'a',
'div',
array(
'href' => $this->uri,
'class' => 'phabricator-pinboard-item-header',
),
phutil_escape_html($this->header));
$header);
}
$image = phutil_render_tag(