Change-Id: I7b7d8e2c7d19042a98a146c8f3620e7f2a74e386
if (st == CertificateStatus.REVOKED) {
vars.put("revoked", c.getRevocationDate());
} else {
if (st == CertificateStatus.REVOKED) {
vars.put("revoked", c.getRevocationDate());
} else {
- vars.put("revoked", "n/a");
+ vars.put("revoked", l.getTranslation("N/A"));
}
} catch (IOException e) {
e.printStackTrace();
} catch (GeneralSecurityException e) {
e.printStackTrace();
}
}
} catch (IOException e) {
e.printStackTrace();
} catch (GeneralSecurityException e) {
e.printStackTrace();
}
+ if (c.isLoginEnabled()) {
+ vars.put("login", l.getTranslation("No"));
+ } else {
+ vars.put("login", l.getTranslation("Yes"));
+ }
<table class="table">
<thead><tr>
<table class="table">
<thead><tr>
-<th><?=_Renew/Revoke/Delete?></th>
<th><?=_Status?></th>
<th><?=_Email Address?></th>
<th><?=_SerialNumber?></th>
<th><?=_Status?></th>
<th><?=_Email Address?></th>
<th><?=_SerialNumber?></th>
<td><?=$issued?></td>
<td><?=$revoked?></td>
<td><?=$expire?></td>
<td><?=$issued?></td>
<td><?=$revoked?></td>
<td><?=$expire?></td>
-<input type="submit" value="<?=_Revoke Certificates?>"/>
\ No newline at end of file
+<input type="submit" value="<?=_Revoke Selected Certificates?>"/>
\ No newline at end of file