зеркало из https://github.com/mozilla/pjs.git
- logic inversion in IF statement for calculating trusted/personal coverage
This commit is contained in:
Родитель
cde829c661
Коммит
f8d140b085
|
@ -184,9 +184,9 @@ Please select a testing group with testcases, or that has not yet been tested in
|
|||
[% FOREACH cursubgroup = cursubgrouplist %]
|
||||
|
||||
[% IF show_admin %]
|
||||
[% personal_completed = cursubgroup.coverage(sysconfig.platform, sysconfig.build_id, sysconfig.locale, 0, user) %]
|
||||
[% ELSE %]
|
||||
[% personal_completed = cursubgroup.coverage(sysconfig.platform, sysconfig.build_id, sysconfig.locale, 0, 0, 1) %]
|
||||
[% ELSE %]
|
||||
[% personal_completed = cursubgroup.coverage(sysconfig.platform, sysconfig.build_id, sysconfig.locale, 0, user) %]
|
||||
[% END %]
|
||||
|
||||
[% IF personal_completed == 100 %]
|
||||
|
|
Загрузка…
Ссылка в новой задаче