Page MenuHomePhabricator

D15528.diff
No OneTemporary

D15528.diff

diff --git a/src/applications/diffusion/controller/DiffusionBrowseController.php b/src/applications/diffusion/controller/DiffusionBrowseController.php
--- a/src/applications/diffusion/controller/DiffusionBrowseController.php
+++ b/src/applications/diffusion/controller/DiffusionBrowseController.php
@@ -995,8 +995,8 @@
array $lines,
array $blame_list,
array $blame_commits,
- $show_color,
- $show_blame) {
+ $show_blame,
+ $show_color) {
$request = $this->getRequest();
$viewer = $this->getViewer();
@@ -1233,26 +1233,28 @@
"\xC2\xAB");
}
- $row[] = phutil_tag(
- 'th',
- array(
- 'class' => 'diffusion-blame-link',
- ),
- $before_link);
+ if ($show_blame) {
+ $row[] = phutil_tag(
+ 'th',
+ array(
+ 'class' => 'diffusion-blame-link',
+ ),
+ $before_link);
- $object_links = array();
- $object_links[] = $commit_link;
- if ($revision_link) {
- $object_links[] = phutil_tag('span', array(), '/');
- $object_links[] = $revision_link;
- }
+ $object_links = array();
+ $object_links[] = $commit_link;
+ if ($revision_link) {
+ $object_links[] = phutil_tag('span', array(), '/');
+ $object_links[] = $revision_link;
+ }
- $row[] = phutil_tag(
- 'th',
- array(
- 'class' => 'diffusion-rev-link',
- ),
- $object_links);
+ $row[] = phutil_tag(
+ 'th',
+ array(
+ 'class' => 'diffusion-rev-link',
+ ),
+ $object_links);
+ }
$line_link = phutil_tag(
'a',

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 11:53 AM (3 d, 13 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6719876
Default Alt Text
D15528.diff (1 KB)

Event Timeline