Subversion Repositories wimsdev

Rev

Rev 10712 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
9960 guerimand 1
!if $nblisttechvar=0
2
        $name_notechvar
3
!else
4
        !if $tv_listlocal!=$empty
5
                $table_header
6
                <caption>$name_listtechvarlocal</caption>
7
                <thead>
8
                $table_hdtr
9
                        <th>$name_name</th>
10
                        <th>$name_ltvalue</th>
11
                        <th>&nbsp;</th>
12
                </tr>
13
                </thead>
14
                <tbody>
15
                !for k in $tv_listlocal
16
                        $table_tr
17
                                !let don=!line $k of $tv_listtechvar
18
                                !let don2=!record $(don[3]) of wimshome/log/classes/$wims_class/.techvar
19
                                !distribute line $don2 into name,val  
20
                                <td>$name</td>
21
                                <td>$val</td>
22
                                <td>
23
                                        !set wims_ref_class=wims_button
24
                                        !href cmd=reply&job=modifvar&techvar=$(don[3]) $name_modify
25
                                </td>
26
                        </tr>
27
                !next k
28
                </tbody>
29
                $table_end
30
        !endif
31
        !if $listglobal!=$empty
32
                $table_header
33
                <caption>$name_listtechvarglobal</caption>
34
                <thead>
35
                $table_hdtr
36
                        <th>$name_name</th>
37
                        <th>$name_value</th>
38
                </tr>
39
                </thead>
40
                <tbody>
41
                !for k in $listglobal
42
                        $table_tr
43
                                !let don=!line $k of $tv_listtechvar
44
                                !let don=!record $(don[3]) of wimshome/log/classes/$(don[2])/.techvar
45
                                !distribute line $don into name,val  
46
                                <td>$name</td>
47
                                <td>$val</td>
48
                        </tr>
49
                !next k
50
                </tbody>
51
                $table_end
52
        !endif
53
!endif