From: Don Armstrong Date: Wed, 11 Apr 2018 23:35:21 +0000 (-0700) Subject: size() is the right operator in short_bug_status, not count() X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=4dc8e67652517adbd49b64481e699c730ea67ca3;p=debbugs.git size() is the right operator in short_bug_status, not count() --- diff --git a/templates/en_US/cgi/short_bug_status.tx b/templates/en_US/cgi/short_bug_status.tx index 1952173a..ccca13ae 100644 --- a/templates/en_US/cgi/short_bug_status.tx +++ b/templates/en_US/cgi/short_bug_status.tx @@ -10,19 +10,19 @@ <: $config.tags_single_letter[$tag] :><:- } -:> : } <:- if $status.tags_array.size() == 0 { -:>  <: } :>| - <:- if $status.mergedwith_array.count > 0 { -:> + <:- if $status.mergedwith_array.size() > 0 { -:> = <:- } -:> - <:- if $status.fixed_versions.count > 0 { -:> + <:- if $status.fixed_versions.size() > 0 { -:> ☺ <:- } -:> - <:- if $status.fixed_versions.count > 0 { -:> + <:- if $status.fixed_versions.size() > 0 { -:> ☺ <:- } -:> - <:- if $status.blockedby_array.count > 0 { -:> + <:- if $status.blockedby_array.size() > 0 { -:> ♙ <:- } -:> - <:- if $status.blocks_array.count > 0 { -:> + <:- if $status.blocks_array.size() > 0 { -:> ♔ <:- } -:> <:- if length($status.forwarded) { -:>