Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Revert previous change. Only show printable link when report is gener…

…ated.
  • Loading branch information...
commit a3d54c5323060df80d954b1b67f82c471915768c 1 parent 6aaff52
Chia-liang Kao authored
View
1  html/Reports/Activity/Elements/ScreenFooter
@@ -4,7 +4,6 @@
% my %printable_args = %ARGS;
% delete $printable_args{$_} for (qw/path title mode/);
% $printable_args{'mode'} = 'print';
-% $printable_args{'ReportType'} ||= 'ActivityDetail';
% my $url = $path .'?'. join(';', map { $_."=".$printable_args{$_} } keys %printable_args);
<a href="<%$RT::WebPath . $url |n%>"><&|/l&>Printable version</&></a>
</div>
View
1  html/Reports/Activity/index.html
@@ -33,6 +33,7 @@
$ARGS{End} = substr($now->ISO,0,10);
}
+$ARGS{show_print_link} = 0 unless $ReportType;
my $saved_search = $m->comp( '/Widgets/SavedSearch:new',
SearchType => 'ActivityReport',
Please sign in to comment.
Something went wrong with that request. Please try again.