Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14009091
D12702.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
4 KB
Referenced Files
None
Subscribers
None
D12702.id.diff
View Options
diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -10,7 +10,7 @@
'core.pkg.css' => 'ca3f6a60',
'core.pkg.js' => '3331b919',
'darkconsole.pkg.js' => 'e7393ebb',
- 'differential.pkg.css' => '0a253fbe',
+ 'differential.pkg.css' => '13312972',
'differential.pkg.js' => '3cfa26f9',
'diffusion.pkg.css' => '591664fa',
'diffusion.pkg.js' => '0115b37c',
@@ -58,7 +58,7 @@
'rsrc/css/application/differential/add-comment.css' => 'c47f8c40',
'rsrc/css/application/differential/changeset-view.css' => 'e19cfd6e',
'rsrc/css/application/differential/core.css' => '7ac3cabc',
- 'rsrc/css/application/differential/phui-inline-comment.css' => '48766bbe',
+ 'rsrc/css/application/differential/phui-inline-comment.css' => 'df8fbd63',
'rsrc/css/application/differential/results-table.css' => '181aa9d9',
'rsrc/css/application/differential/revision-comment.css' => '024dda6b',
'rsrc/css/application/differential/revision-history.css' => '0e8eb855',
@@ -795,7 +795,7 @@
'phui-image-mask-css' => '5a8b09c8',
'phui-info-panel-css' => '27ea50a1',
'phui-info-view-css' => 'c6f0aef8',
- 'phui-inline-comment-view-css' => '48766bbe',
+ 'phui-inline-comment-view-css' => 'df8fbd63',
'phui-list-view-css' => '2e25ebfb',
'phui-object-box-css' => '7d160002',
'phui-object-item-list-view-css' => '9db65899',
diff --git a/src/infrastructure/diff/view/PHUIDiffInlineCommentDetailView.php b/src/infrastructure/diff/view/PHUIDiffInlineCommentDetailView.php
--- a/src/infrastructure/diff/view/PHUIDiffInlineCommentDetailView.php
+++ b/src/infrastructure/diff/view/PHUIDiffInlineCommentDetailView.php
@@ -128,12 +128,11 @@
if ($ghost) {
if ($ghost['new']) {
$ghosticon = 'fa-fast-forward';
- $reason = pht('View forward comment');
+ $reason = pht('View on forward revision');
} else {
$ghosticon = 'fa-fast-backward';
- $reason = pht('View previous comment');
+ $reason = pht('View on previous revision');
}
- $ghost_id = celerity_generate_unique_node_id();
$ghost_icon = id(new PHUIIconView())
->setIconFont($ghosticon)
@@ -143,16 +142,12 @@
'tip' => $reason,
'size' => 300,
));
- $ghost_tag = javelin_tag(
+ $ghost_tag = phutil_tag(
'a',
array(
'class' => 'ghost-icon',
- 'sigil' => 'jx-toggle-class',
- 'meta' => array(
- 'map' => array(
- $ghost_id => 'ghost-is-expanded',
- ),
- ),
+ 'href' => $ghost['href'],
+ 'target' => '_blank',
),
$ghost_icon);
$classes[] = 'inline-comment-ghost';
@@ -415,7 +410,6 @@
'class' => $classes,
'sigil' => $sigil,
'meta' => $metadata,
- 'id' => $ghost_id,
),
array(
phutil_tag_div('differential-inline-comment-head grouped', array(
diff --git a/webroot/rsrc/css/application/differential/phui-inline-comment.css b/webroot/rsrc/css/application/differential/phui-inline-comment.css
--- a/webroot/rsrc/css/application/differential/phui-inline-comment.css
+++ b/webroot/rsrc/css/application/differential/phui-inline-comment.css
@@ -47,7 +47,7 @@
font-weight: bold;
color: {$darkbluetext};
border-bottom: 1px solid {$sh-lightyellowborder};
- padding: 4px 5px 2px 12px;
+ padding: 4px 5px 4px 12px;
background-color: {$sh-yellowbackground};
}
@@ -415,7 +415,7 @@
}
.ghost-icon .phui-icon-view {
- padding: 7px 7px 8px;
+ padding: 8px 7px;
font-size: 15px;
color: {$lightbluetext};
}
@@ -424,23 +424,8 @@
color: {$sky};
}
-.inline-comment-ghost .differential-inline-comment-content {
- display: none;
-}
-
-.inline-comment-ghost.ghost-is-expanded .differential-inline-comment-content {
- display: block;
-}
-
.differential-inline-comment.inline-comment-ghost
.differential-inline-comment-head {
- border-bottom-color: transparent;
- position: relative;
-}
-
-.differential-inline-comment.inline-comment-ghost.ghost-is-expanded
- .differential-inline-comment-head {
- border-bottom-color: {$thinblueborder};
position: relative;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Oct 31, 10:03 AM (2 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6713684
Default Alt Text
D12702.id.diff (4 KB)
Attached To
Mode
D12702: Remove click to view on ghosties
Attached
Detach File
Event Timeline
Log In to Comment