mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-25 14:08:19 +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() {
|
public function render() {
|
||||||
$header = null;
|
$header = null;
|
||||||
if ($this->header) {
|
if ($this->header) {
|
||||||
|
$header = hsprintf('<a href="%s">%s</a>', $this->uri, $this->header);
|
||||||
$header = phutil_render_tag(
|
$header = phutil_render_tag(
|
||||||
'a',
|
'div',
|
||||||
array(
|
array(
|
||||||
'href' => $this->uri,
|
|
||||||
'class' => 'phabricator-pinboard-item-header',
|
'class' => 'phabricator-pinboard-item-header',
|
||||||
),
|
),
|
||||||
phutil_escape_html($this->header));
|
$header);
|
||||||
}
|
}
|
||||||
|
|
||||||
$image = phutil_render_tag(
|
$image = phutil_render_tag(
|
||||||
|
|
Loading…
Add table
Reference in a new issue