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:
parent
07db53b6f8
commit
4b4e140f7b
1 changed files with 3 additions and 3 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue