- select first entry only after checking whether that entry is also 100% complete
This commit is contained in:
ccooper%deadsquid.com 2007-04-24 18:21:51 +00:00
Родитель 6c1aefaec5
Коммит 97a9822f1f
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -224,7 +224,7 @@ Please select a testing group with testcases, or that has not yet been tested in
[% END %]
<tr class="[% groupstyle | none %]">
<td align="left"><table class="none"><tr><td><input [% IF ! counttests %]disabled [% ELSE %][% IF loop.first %]checked [% ELSE %][% IF select_first_avail_subgroup==1 && personal_completed != 'N/A' && personal_completed < 100 %][% select_first_avail_subgroup=0 %]checked [% END %][% END %][% END %]type="radio" id="subgroup_[% testgroup FILTER html %]" name="subgroup_[% testgroup FILTER html %]"
<td align="left"><table class="none"><tr><td><input [% IF ! counttests %]disabled [% ELSE %][% IF select_first_avail_subgroup==1 && personal_completed != 'N/A' && personal_completed < 100 %][% select_first_avail_subgroup=0 %]checked [% ELSE %][% IF loop.first %]checked [% END %][% END %][% END %]type="radio" id="subgroup_[% testgroup FILTER html %]" name="subgroup_[% testgroup FILTER html %]"
value="[% cursubgroup.id FILTER html %]" /></td>
<td>[% cursubgroup.name FILTER html %]</td></tr></table></td>
<td align="center">[% IF ! counttests %] 0 [% ELSE %] [% counttests %] [% END %]</td>