Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14052984
D15528.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D15528.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D15528: Fix Diffusion blame columns when disabling blame
Attached
Detach File
Event Timeline
Log In to Comment