Subversion Repositories wimsdev

Rev

Rev 12552 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4039 bpr 1
!read adm/class/classname.phtml $wims_classname\
4020 bpr 2
$wims_institutionname
3
 
1479 bpr 4
!read adm/title.phtml 1\
4020 bpr 5
$classname\
1479 bpr 6
$livret_title
1319 guerimand 7
 
8
!if $usercnt==0
12394 bpr 9
  $name_noyetparticipant
12552 bpr 10
  !! !exit
1319 guerimand 11
!endif
12
!if $livret_nbcomp==0
12394 bpr 13
  $name_no_competence
12552 bpr 14
  !exit
1319 guerimand 15
!endif
16
!default note=0
9567 guerimand 17
 
18
!! add varfilter
10462 guerimand 19
!if $tv_listtechvar!=$empty
12394 bpr 20
  !form reply
21
  !read adm/vfilter/varfilter html
22
  !formend
10462 guerimand 23
!endif
9567 guerimand 24
 
9563 guerimand 25
!read proc/legend.proc legend
9569 guerimand 26
 
12440 guerimand 27
!set table_id=TABLE_userlist
28
!set table_class=sortable
1319 guerimand 29
$table_header
12440 guerimand 30
 <thead>
1319 guerimand 31
 $table_hdtr
12440 guerimand 32
   <th>&nbsp;</th>
12552 bpr 33
!for k=1 to $livret_nbcomp
34
  <th valign="middle" colspan="$(nbpalier_$k)">
35
  !set wims_ref_title=$(title_$k)
36
  !href cmd=renew&job=addcomp&comp=$k $(name_icompetence)$k
37
  !set wims_ref_class=wims_button
38
  &nbsp;
39
  !href cmd=renew&job=addcomp&comp=$k $wims_name_change
40
  </th>
12440 guerimand 41
!! deleted : not compatible with tablesort.js
42
!!     !if $k<$livret_nbcomp
43
!!       <td style="width:3px;" rowspan="2" data-sort-method="none"></td>
44
!!     !endif
12552 bpr 45
 !next k
46
</tr>
47
$table_hdtr
48
<th data-sort-method="link">$wims_name_lastname, $wims_name_firstname</th>
49
!for k=1 to $livret_nbcomp
50
  !for j=1 to $(nbpalier_$k)
51
    !let desc=!record $j of $livret_dir/.comp$k
52
    !let desc=!line 1 of $desc
53
    <th valign="middle" data-sort-method="number">
54
      <div class="wims_tooltip">
55
     $(name_ipalier)$j <span class="wims_tooltiptext">$desc</span>
56
     </div>
57
    </th>
58
  !next j
59
!next k
1319 guerimand 60
 </tr>
12440 guerimand 61
</thead>
62
<tbody>
12394 bpr 63
!for i=1 to $usercnt
1951 guerimand 64
  !set uu=!line $i of $userlist
9567 guerimand 65
  !if $varfilter_!=$empty
12394 bpr 66
    !reset var_filter_test
67
    !readproc adm/vfilter/testfilter $(uu[1])\
9567 guerimand 68
$varfilter_
9569 guerimand 69
  !endif
70
  !if $var_filter_test=1 or $varfilter_=$empty
12440 guerimand 71
    $table_tr
9610 obado 72
      <td>
12440 guerimand 73
        !set link_content = $(uu[2])
74
        !if $(uu[1]) isitemof $wims_connectedlogin and $wims_user=supervisor
75
          !set link_content = $link_content <i class="wims_connected wims_tooltip" title="($SU_partconnected)"><span class="hidden_text">($SU_partconnected)</span></i>
76
        !endif
77
        !href cmd=reply&job=user&user=$(uu[1]) $link_content
78
        !reset link_content
79
      </td>
80
      !for k=1 to $livret_nbcomp
81
        !for j=1 to $(nbpalier_$k)
82
          !read adm/class/colors $(skillu_$i[$k;$j]),livret
83
          <td style=$style_note data-sort="$value_note">$output_note</td>
84
        !next j
85
      !next k
86
    </tr>
9567 guerimand 87
  !endif
12394 bpr 88
!next i
12440 guerimand 89
</tbody>
1319 guerimand 90
$table_end
12638 obado 91
!read tablesort.phtml