only allow provisioned devices to be remote wiped
authorMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 29 Apr 2010 21:04:34 +0000 (17:04 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 1 May 2010 14:06:14 +0000 (10:06 -0400)
horde/templates/prefs/activesync.html

index a492fae..e6fc2c2 100644 (file)
  </tr>
 <loop:devices>
  <tr class="<tag:devices.class />">
-  <td><input type="radio" name="wipe" value="<tag:devices.device_id />" /></td>
+ <if:devices.device_policykey>
+    <td><input type="radio" name="wipe" value="<tag:devices.device_id />" /></td>
+ <else:devices.device_policykey>
+    <td><gettext>Not Provisioned</gettext></td>
+ </else:devices.device_policykey>
+ </if:devices.device_policykey>
   <td><tag:devices.device_type /></td>
   <td><tag:devices.ts /></td>
   <td><tag:devices.status /></td>