~registry/dhis2-academy/group3_messaging_support

« back to all changes in this revision

Viewing changes to local/in/dhis-web-dashboard/src/main/webapp/dhis-web-dashboard/idspOutBreak.vm

  • Committer: michaelgunnulfsen at gmail
  • Date: 2011-11-18 15:42:06 UTC
  • mfrom: (4968.1.62 Address_Book_group-4)
  • Revision ID: michaelgunnulfsen@gmail.com-20111118154206-akum3pg1i1jbk9iy
merged new searching functionality with addressbook

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
<div>$navigationString</div>
 
3
 
 
4
<script>
 
5
    leftBar.hideAnimated();
 
6
</script>
 
7
 
 
8
#set( $mark = 0 )
 
9
 
 
10
<table valign="top" width="95%" border="1" cellspacing="0" cellpadding="5" >
 
11
    <tr bgcolor="#c0c0c0" style="height:23px">
 
12
        <td align="center"><strong>$rootOrgUnitName</strong></td>
 
13
        #foreach( $normName in $normNames )
 
14
        <td align="center" ><strong>$normName</strong></td>
 
15
        #end
 
16
    </tr>
 
17
 
 
18
    #set( $count1 = 0 )
 
19
    #foreach( $orgUnit in $immChildrenList )
 
20
                <tr style="#if( $mark == 1 )background-color:#e0e0e0;#end height:23px" >
 
21
                        <td><a href="index.action?drillDownOrgUnitId=$orgUnit.id">$orgUnit.shortName</a></td>
 
22
                        #foreach( $normName in $normNames )
 
23
                                <td align="center" style='background-color:$outBreakAlertColorMap.get("$normName:$orgUnit.id");'>$outBreakAlertMap.get( "$normName:$orgUnit.id" )</td>
 
24
                        #end
 
25
                </tr>
 
26
                #set( $count1 = $count1 + 1 )
 
27
                #if( $mark == 1 )
 
28
                        #set( $mark = 0 )
 
29
                #else
 
30
                        #set( $mark = 1 )
 
31
                #end    
 
32
    #end
 
33
</table>