summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-12-15 16:43:57 -0800
committerIvan Kohler <ivan@freeside.biz>2017-12-15 16:43:57 -0800
commit94be7e58a807d822aaa34151c5da9346c976d7a0 (patch)
treec5410d69ee86b7065f2c0286cb85d3143b4b30cf
parentd6972edb74552fd097714121a8cc450b7d40bdbc (diff)
parent5c1e57f696a330f82231b485fe58491f537e587b (diff)
Merge branch 'master' of git.freeside.biz:/home/git/freeside
-rw-r--r--httemplate/search/477.html11
1 files changed, 5 insertions, 6 deletions
diff --git a/httemplate/search/477.html b/httemplate/search/477.html
index 2e9f942..84fd7fb 100644
--- 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 ) {
-% # 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};