Subversion Repositories wimsdev

Rev

Rev 14003 | Rev 14073 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14003 Rev 14072
Line 236... Line 236...
236
      </th>
236
      </th>
237
    !endif
237
    !endif
238
  !next j
238
  !next j
239
  </tr>
239
  </tr>
240
!else
240
!else
241
  $table_hdtr<th scope="col">$wims_name_lastname, $wims_name_firstname ($usercnt)</th>
241
  $table_hdtr<th scope="col">$wims_name_lastname, $wims_name_firstname</th>
242
  !if $wims_typename iswordof group portal
242
  !if $wims_typename iswordof group portal
243
    !goto endgroup
243
    !goto endgroup
244
  !endif
244
  !endif
245
  !if $job_affi=notes
245
  !if $job_affi=notes
246
    <th scope="col" class="average" data-sort-method="number">
246
    <th scope="col" class="average" data-sort-method="number">
Line 461... Line 461...
461
!endif
461
!endif
462
<tfoot>
462
<tfoot>
463
!distribute item $[rint(100*$mean_auto/$trueusercnt)/100],\
463
!distribute item $[rint(100*$mean_auto/$trueusercnt)/100],\
464
  $[rint(100*$mean_tea/$trueusercnt)/100],\
464
  $[rint(100*$mean_tea/$trueusercnt)/100],\
465
  $[rint(100*$mean_glob/$trueusercnt)/100] into m_auto,m_tea,m_glob
465
  $[rint(100*$mean_glob/$trueusercnt)/100] into m_auto,m_tea,m_glob
466
$table_hdtr<th>$name_classAverage</th>
466
$table_hdtr<th>$name_groupAverage ($trueusercnt)</th>
467
!if $job_affi=notes
467
!if $job_affi=notes
468
  !if $manual>0
468
  !if $manual>0
469
    !if $m_glob >0
469
    !if $m_glob >0
470
      !read adm/class/colors $[ceil($m_glob*10/$scoremax)]
470
      !read adm/class/colors $[ceil($m_glob*10/$scoremax)]
471
      <td style=$style_note>$m_glob
471
      <td style=$style_note>$m_glob
Line 517... Line 517...
517
!if $cnt_glob>0
517
!if $cnt_glob>0
518
  !distribute item $[rint(100*$mean_auto/max(1,$cnt_auto))/100],\
518
  !distribute item $[rint(100*$mean_auto/max(1,$cnt_auto))/100],\
519
   $[rint(100*$mean_tea/max(1,$cnt_tea))/100],\
519
   $[rint(100*$mean_tea/max(1,$cnt_tea))/100],\
520
   $[rint(100*$mean_glob/max(1,$cnt_glob))/100] into m_auto,m_tea,m_glob
520
   $[rint(100*$mean_glob/max(1,$cnt_glob))/100] into m_auto,m_tea,m_glob
521
  </tr>
521
  </tr>
522
  $table_hdtr<th>$name_posAverage</th>
522
  $table_hdtr<th>$name_posAverage ($cnt_glob)</th>
523
  !if $manual>0
523
  !if $manual>0
524
    !if $m_glob>0
524
    !if $m_glob>0
525
      !read adm/class/colors $[ceil($m_glob*10/$scoremax)]
525
      !read adm/class/colors $[ceil($m_glob*10/$scoremax)]
526
        <td style=$style_note>$m_glob
526
        <td style=$style_note>$m_glob
527
    !else
527
    !else