store client name and last use time for tokens. show them in token management
[grauphel.git] / templates / tokens.php
index 4a578f577649e35b0c2cc619a5ea4ff789c23dd8..770751637f9580824a9375aab9c1578358d2004b 100644 (file)
@@ -18,8 +18,8 @@
     <?php foreach ($_['tokens'] as $token) { ?>
       <tr>
        <td><?php p($token->tokenKey); ?></td>
-       <td></td>
-       <td></td>
+       <td title="<?php p($token->client); ?>"><?php p($_['client']->getNiceName($token->client)); ?></td>
+       <td><?php p(\OCP\Util::formatDate($token->lastuse)); ?></td>
        <td>Disable Delete</td>
       </tr>
     <?php } ?>