mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01:00
Link Timeline image to profile
Summary: Ref T9336. Links the timeline photo to user profile. Presume this always exists? Test Plan: Review a few timelines, click on heads. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T9336 Differential Revision: https://secure.phabricator.com/D14283
This commit is contained in:
parent
f3f3d95702
commit
f1552f54a0
3 changed files with 6 additions and 4 deletions
|
@ -7,7 +7,7 @@
|
||||||
*/
|
*/
|
||||||
return array(
|
return array(
|
||||||
'names' => array(
|
'names' => array(
|
||||||
'core.pkg.css' => 'a11c3643',
|
'core.pkg.css' => 'c65b251d',
|
||||||
'core.pkg.js' => '47dc9ebb',
|
'core.pkg.js' => '47dc9ebb',
|
||||||
'darkconsole.pkg.js' => 'e7393ebb',
|
'darkconsole.pkg.js' => 'e7393ebb',
|
||||||
'differential.pkg.css' => '2de124c9',
|
'differential.pkg.css' => '2de124c9',
|
||||||
|
@ -147,7 +147,7 @@ return array(
|
||||||
'rsrc/css/phui/phui-status.css' => '888cedb8',
|
'rsrc/css/phui/phui-status.css' => '888cedb8',
|
||||||
'rsrc/css/phui/phui-tag-view.css' => '402691cc',
|
'rsrc/css/phui/phui-tag-view.css' => '402691cc',
|
||||||
'rsrc/css/phui/phui-text.css' => 'cf019f54',
|
'rsrc/css/phui/phui-text.css' => 'cf019f54',
|
||||||
'rsrc/css/phui/phui-timeline-view.css' => 'f1bccf73',
|
'rsrc/css/phui/phui-timeline-view.css' => '2efceff8',
|
||||||
'rsrc/css/phui/phui-two-column-view.css' => '39ecafb1',
|
'rsrc/css/phui/phui-two-column-view.css' => '39ecafb1',
|
||||||
'rsrc/css/phui/phui-workboard-view.css' => '6704d68d',
|
'rsrc/css/phui/phui-workboard-view.css' => '6704d68d',
|
||||||
'rsrc/css/phui/phui-workpanel-view.css' => 'adec7699',
|
'rsrc/css/phui/phui-workpanel-view.css' => 'adec7699',
|
||||||
|
@ -797,7 +797,7 @@ return array(
|
||||||
'phui-tag-view-css' => '402691cc',
|
'phui-tag-view-css' => '402691cc',
|
||||||
'phui-text-css' => 'cf019f54',
|
'phui-text-css' => 'cf019f54',
|
||||||
'phui-theme-css' => '6b451f24',
|
'phui-theme-css' => '6b451f24',
|
||||||
'phui-timeline-view-css' => 'f1bccf73',
|
'phui-timeline-view-css' => '2efceff8',
|
||||||
'phui-two-column-view-css' => '39ecafb1',
|
'phui-two-column-view-css' => '39ecafb1',
|
||||||
'phui-workboard-view-css' => '6704d68d',
|
'phui-workboard-view-css' => '6704d68d',
|
||||||
'phui-workpanel-view-css' => 'adec7699',
|
'phui-workpanel-view-css' => 'adec7699',
|
||||||
|
|
|
@ -374,10 +374,11 @@ final class PHUITimelineEventView extends AphrontView {
|
||||||
$badges = null;
|
$badges = null;
|
||||||
if ($image_uri) {
|
if ($image_uri) {
|
||||||
$image = phutil_tag(
|
$image = phutil_tag(
|
||||||
'div',
|
($this->userHandle->getURI()) ? 'a' : 'div',
|
||||||
array(
|
array(
|
||||||
'style' => 'background-image: url('.$image_uri.')',
|
'style' => 'background-image: url('.$image_uri.')',
|
||||||
'class' => 'phui-timeline-image',
|
'class' => 'phui-timeline-image',
|
||||||
|
'href' => $this->userHandle->getURI(),
|
||||||
),
|
),
|
||||||
'');
|
'');
|
||||||
if ($this->badges) {
|
if ($this->badges) {
|
||||||
|
|
|
@ -102,6 +102,7 @@
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
box-shadow: {$borderinset};
|
box-shadow: {$borderinset};
|
||||||
background-size: 100%;
|
background-size: 100%;
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.device-desktop .phui-timeline-major-event .phui-timeline-image {
|
.device-desktop .phui-timeline-major-event .phui-timeline-image {
|
||||||
|
|
Loading…
Reference in a new issue