From 4b4e140f7b444b96dda8a75485630ceb511a8085 Mon Sep 17 00:00:00 2001 From: vrana Date: Tue, 9 Oct 2012 11:58:37 -0700 Subject: [PATCH] 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 --- src/view/layout/PhabricatorPinboardItemView.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/view/layout/PhabricatorPinboardItemView.php b/src/view/layout/PhabricatorPinboardItemView.php index 89b8d1c7fd..a37613a451 100644 --- a/src/view/layout/PhabricatorPinboardItemView.php +++ b/src/view/layout/PhabricatorPinboardItemView.php @@ -49,13 +49,13 @@ final class PhabricatorPinboardItemView extends AphrontView { public function render() { $header = null; if ($this->header) { + $header = hsprintf('%s', $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(