~mortenoh/+junk/dhis2-detailed-import-export

« back to all changes in this revision

Viewing changes to dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/multidimensional/categoryCombo.vm

  • Committer: larshelge at gmail
  • Date: 2009-03-03 16:46:36 UTC
  • Revision ID: larshelge@gmail.com-20090303164636-2sjlrquo7ib1gf7r
Initial check-in

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<h3>$i18n.getString( "data_element_category_combo_management" )</h3>
 
2
 
 
3
<table class="mainPageTable">
 
4
  <tr>
 
5
    <td style="vertical-align:top">
 
6
      <table class="listTable">
 
7
          <col> ## Name
 
8
          <col width="20">
 
9
          <col width="20">
 
10
          <col width="20">
 
11
          <col width="20">                
 
12
 
 
13
                  <tr>
 
14
                        <td></td>
 
15
                        <td colspan="6" style="text-align:right"><input type="button" value="$i18n.getString( "add_new" )" onclick="window.location.href='showAddDataElementCategoryComboForm.action'"></td>
 
16
                  </tr>
 
17
 
 
18
          <tr>
 
19
            <th>$i18n.getString( "name" )</th>
 
20
            <th colspan="6">$i18n.getString( "operations" )</th>
 
21
          </tr>
 
22
 
 
23
          <tbody>
 
24
            #set( $mark = false )
 
25
            #foreach( $dataElementCategoryCombo in $dataElementCategoryCombos )
 
26
              <tr>
 
27
                <td#alternate( $mark )>$encoder.htmlEncode( $dataElementCategoryCombo.name )</td>
 
28
                <td style="text-align:center"#alternate( $mark )>
 
29
                  <a href="showUpdateDataElementCategoryComboForm.action?dataElementCategoryComboId=$dataElementCategoryCombo.id" title="$i18n.getString( "edit" )"><img src="../images/edit.png" alt="$i18n.getString( "edit" )"></a>
 
30
                </td>
 
31
                <td style="text-align:center"#alternate( $mark )>
 
32
                   <a href="$i18n.getString( "translation_translate" )" title="$i18n.getString( "translation_translate" )" onclick="this.href='javascript:location.href= \'../dhis-web-commons/i18n.action?className=DataElementCategoryCombo&amp;objectId=$dataElementCategoryCombo.id&amp;returnUrl=\' + location.href'"><img src="../images/i18n.png" alt="$i18n.getString( "translation_translate" )"></a>
 
33
                </td>                           
 
34
                                #if( $dataElementCategoryCombo.id != $defaultCombo.id )
 
35
                <td style="text-align:center"#alternate( $mark )>
 
36
                  <a href="javascript:removeDataElementCategoryCombo( '$dataElementCategoryCombo.id', '$encoder.jsEncode( $dataElementCategoryCombo.name )' )" title="$i18n.getString( "remove" )"><img src="../images/delete.png" alt="$i18n.getString( "remove" )"></a>
 
37
                </td>
 
38
                                #end                            
 
39
                                <td style="text-align:center"#alternate( $mark )>
 
40
                  <a href="javascript:showDataElementCategoryComboDetails( $dataElementCategoryCombo.id )" title="$i18n.getString( "show_details" )"><img src="../images/information.png" alt="$i18n.getString( "show_details" )"></a>
 
41
                </td>                           
 
42
              </tr>
 
43
                          #if( $mark )
 
44
                                #set( $mark = false )
 
45
                          #else
 
46
                                #set( $mark = true )
 
47
                          #end
 
48
            #end
 
49
 
 
50
          </tbody>
 
51
 
 
52
        </table>
 
53
    </td>
 
54
                <td style="width:20em; padding-left:2em; vertical-align:top">
 
55
 
 
56
                        <div id="detailsArea" style="display:none">
 
57
                                <div style="float:right">
 
58
                                        <a href="javascript:hideDetails()" title="$i18n.getString( "hide_details" )"><img src="../images/close.png" alt="$i18n.getString( "hide_details" )"></a>
 
59
                                </div>                          
 
60
                                <p><label>$i18n.getString( "id" ):</label><br><span id="idField"></span></p>
 
61
                                <p><label>$i18n.getString( "name" ):</label><br><span id="nameField"></span></p>
 
62
                                <p><label>$i18n.getString( "number_of_categories" ):</label><br><span id="dataElementCategoryCountField"></span></p>
 
63
                        </div>
 
64
 
 
65
                </td>
 
66
  </tr>
 
67
</table>
 
68
 
 
69
<script type="text/javascript">
 
70
 
 
71
        var i18n_confirm_delete = '$encoder.jsEscape( $i18n.getString( "confirm_delete" ) , "'" )';
 
72
</script>
 
 
b'\\ No newline at end of file'