projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
52a2815
)
RT# 74845 - fixed report to allow downloading even if there are errors.
author
Christopher Burger
<burgerc@freeside.biz>
Thu, 14 Dec 2017 20:59:44 +0000
(15:59 -0500)
committer
Christopher Burger
<burgerc@freeside.biz>
Thu, 14 Dec 2017 20:59:44 +0000
(15:59 -0500)
httemplate/search/477.html
patch
|
blob
|
history
diff --git
a/httemplate/search/477.html
b/httemplate/search/477.html
index
2e9f942
..
84fd7fb
100644
(file)
--- a/
httemplate/search/477.html
+++ b/
httemplate/search/477.html
@@
-59,13
+59,12
@@
a.download {
<caption>
<span class="parttitle"><% $part_titles->{$partname} %></span>
% if ( $this_part->{num_errors} > 0 ) {
<caption>
<span class="parttitle"><% $part_titles->{$partname} %></span>
% if ( $this_part->{num_errors} > 0 ) {
-% # disable downloading while it contains errors
- <span class="errortitle">
- <% emt('This section contains [quant,_1,error].', $this_part->{num_errors}) %>
- </span>
-% } else {
- <a class="download" href="<% $cgi->self_url %>">Download</a>
+% # show error heading while it contains errors
+ <span class="errortitle">
+ <% emt('This section contains [quant,_1,error].', $this_part->{num_errors}) %>
+ </span>
% }
% }
+ <a class="download" href="<% $cgi->self_url %>">Download</a>
</caption>
% my $header = ".header_$partname";
% my $data = $this_part->{data};
</caption>
% my $header = ".header_$partname";
% my $data = $this_part->{data};