0006-Feature-764-Add-enable-disable-state-column-for-user.patch

d) Add enable/disable support to oZones users - Hector Sanjuan, 08/31/2011 11:29 PM

Download (2.66 KB)

View differences:

src/ozones/Server/public/js/ozones-util.js
178 178
                zone_id,
179 179
                zone_name,
180 180
                user.ID,
181
                name
181
                name,
182
                parseInt(user.ENABLED,10) ? "yes" : "no"
182 183
            ]);
183 184
        } else {
184 185
            user_array.push([
185 186
                user.ID,
186
                name
187
                name,
188
                parseInt(user.ENABLED,10) ? "yes" : "no"
187 189
            ]);
188 190
        }
189 191

  
src/ozones/Server/public/js/plugins/aggregated-tab.js
110 110
      <th>Zone Name</th>\
111 111
      <th>ID</th>\
112 112
      <th>Name</th>\
113
      <th>Enabled</th>\
113 114
    </tr>\
114 115
  </thead>\
115 116
  <tbody>\
......
601 602
        "sPaginationType": "full_numbers",
602 603
        "bAutoWidth":false,
603 604
        "aoColumnDefs": [
604
            { "sWidth": "35px", "aTargets": [0,2] },
605
            { "sWidth": "35px", "aTargets": [0,2,4] },
605 606
            { "sWidth": "100px", "aTargets": [1] }
606 607
        ]
607 608
    });
src/ozones/Server/public/js/plugins/zones-tab.js
424 424
    <tr>\
425 425
      <th>ID</th>\
426 426
      <th>Name</th>\
427
      <th>Enabled</th>\
427 428
    </tr>\
428 429
  </thead>\
429 430
  <tbody>\
......
510 511
        "sPaginationType": "full_numbers",
511 512
        "bAutoWidth":false,
512 513
        "aoColumnDefs": [
513
            { "sWidth": "35px", "aTargets": [0] }
514
            { "sWidth": "35px", "aTargets": [0,2] }
514 515
        ]
515 516
    });
516 517

  
517
-