diff --git a/src/__celerity_resource_map__.php b/src/__celerity_resource_map__.php
index d668424237..32196ded9d 100644
--- a/src/__celerity_resource_map__.php
+++ b/src/__celerity_resource_map__.php
@@ -3804,7 +3804,7 @@ celerity_register_resource_map(array(
),
'phriction-document-css' =>
array(
- 'uri' => '/res/7ae003b1/rsrc/css/application/phriction/phriction-document-css.css',
+ 'uri' => '/res/97cbd7c6/rsrc/css/application/phriction/phriction-document-css.css',
'type' => 'css',
'requires' =>
array(
diff --git a/src/applications/phriction/controller/PhrictionDiffController.php b/src/applications/phriction/controller/PhrictionDiffController.php
index e6888bca7e..6db052d98f 100644
--- a/src/applications/phriction/controller/PhrictionDiffController.php
+++ b/src/applications/phriction/controller/PhrictionDiffController.php
@@ -113,7 +113,7 @@ final class PhrictionDiffController
->setHref(PhrictionDocument::getSlugURI($slug, 'history')));
- $title = "Version $l vs $r";
+ $title = pht("Version %s vs %s", $l, $r);
$header = id(new PHUIHeaderView())
->setHeader($title);
@@ -142,10 +142,17 @@ final class PhrictionDiffController
'a',
array(
'href' => $uri->alter('l', $l - 1)->alter('r', $r - 1),
+ 'class' => 'button',
),
pht("\xC2\xAB Previous Change"));
} else {
- $link_l = pht('Original Change');
+ $link_l = phutil_tag(
+ 'a',
+ array(
+ 'href' => '#',
+ 'class' => 'button grey disabled',
+ ),
+ pht('Original Change'));
}
$link_r = null;
@@ -154,10 +161,17 @@ final class PhrictionDiffController
'a',
array(
'href' => $uri->alter('l', $l + 1)->alter('r', $r + 1),
+ 'class' => 'button',
),
pht("Next Change \xC2\xBB"));
} else {
- $link_r = pht('Most Recent Change');
+ $link_r = phutil_tag(
+ 'a',
+ array(
+ 'href' => '#',
+ 'class' => 'button grey disabled',
+ ),
+ pht('Most Recent Change'));
}
$navigation_table = hsprintf(
@@ -174,7 +188,7 @@ final class PhrictionDiffController
$output = hsprintf(
'
%s | %s | '. '