Page MenuHomePhabricator

D9648.id23181.diff
No OneTemporary

D9648.id23181.diff

diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -81,7 +81,7 @@
'rsrc/css/application/phame/phame.css' => '19ecc703',
'rsrc/css/application/pholio/pholio-edit.css' => '3ad9d1ee',
'rsrc/css/application/pholio/pholio-inline-comments.css' => '2703fdb9',
- 'rsrc/css/application/pholio/pholio.css' => 'c1510ea2',
+ 'rsrc/css/application/pholio/pholio.css' => '5591f1e9',
'rsrc/css/application/phortune/phortune-credit-card-form.css' => 'b25b4beb',
'rsrc/css/application/phrequent/phrequent.css' => 'ffc185ad',
'rsrc/css/application/phriction/phriction-document-css.css' => '7d7f0071',
@@ -752,7 +752,7 @@
'phabricator-uiexample-reactor-sendproperties' => '551add57',
'phabricator-zindex-css' => 'efb673ac',
'phame-css' => '19ecc703',
- 'pholio-css' => 'c1510ea2',
+ 'pholio-css' => '5591f1e9',
'pholio-edit-css' => '3ad9d1ee',
'pholio-inline-comments-css' => '2703fdb9',
'phortune-credit-card-form' => '2290aeef',
diff --git a/src/applications/pholio/view/PholioMockThumbGridView.php b/src/applications/pholio/view/PholioMockThumbGridView.php
--- a/src/applications/pholio/view/PholioMockThumbGridView.php
+++ b/src/applications/pholio/view/PholioMockThumbGridView.php
@@ -67,8 +67,20 @@
}
$grid = array();
+ $jj = $depth;
for ($ii = 0; $ii < $depth; $ii++) {
$row = array();
+ if ($depth == $jj) {
+ $row[] = phutil_tag(
+ 'th',
+ array(
+ 'valign' => 'middle',
+ 'class' => 'pholio-history-header',
+ ),
+ pht('Current Revision'));
+ } else {
+ $row[] = phutil_tag('th', array(), null);
+ }
foreach ($cols as $col) {
if (empty($col[$ii])) {
$row[] = phutil_tag('td', array(), null);
@@ -78,6 +90,7 @@
}
}
$grid[] = phutil_tag('tr', array(), $row);
+ $jj--;
}
$grid = phutil_tag(
diff --git a/webroot/rsrc/css/application/pholio/pholio.css b/webroot/rsrc/css/application/pholio/pholio.css
--- a/webroot/rsrc/css/application/pholio/pholio.css
+++ b/webroot/rsrc/css/application/pholio/pholio.css
@@ -239,3 +239,12 @@
padding: 12px 8px;
border-top: 1px solid {$thinblueborder};
}
+
+.pholio-history-header {
+ vertical-align: middle;
+ color: {$lightbluetext};
+ font-weight: bold;
+ padding-right: 8px;
+ -webkit-font-smoothing: antialiased;
+ white-space: nowrap;
+}

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 1:04 PM (8 h, 40 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6914073
Default Alt Text
D9648.id23181.diff (2 KB)

Event Timeline