diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-06-08 11:41:30 +0300 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-06-10 16:44:24 +0300 |
commit | 6c69cdf860b198d8953f6532d0363945370ddafd (patch) | |
tree | 9649347a17eb636d2d32eee9d7fcb9a338e275fa /settings | |
parent | 73a9afed6de7c329cc9226a9b869f3305d5910d6 (diff) |
Add user ID to log entries in admin page
Diffstat (limited to 'settings')
-rw-r--r-- | settings/js/log.js | 5 | ||||
-rw-r--r-- | settings/templates/admin.php | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/settings/js/log.js b/settings/js/log.js index 43ef561f7ee..a1ad29d72e7 100644 --- a/settings/js/log.js +++ b/settings/js/log.js @@ -64,6 +64,11 @@ OC.Log = { timeTd.text(formatDate(entry.time * 1000)); } row.append(timeTd); + + var userTd = $('<td/>'); + userTd.text(entry.user); + row.append(userTd); + $('#log').append(row); } OC.Log.loaded += entries.length; diff --git a/settings/templates/admin.php b/settings/templates/admin.php index 616ac2ab852..c19b289bbd4 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -519,6 +519,7 @@ if ($_['cronErrors']) { p($entry->time); }?> </td> + <td><?php isset($entry->user) ? p($entry->user) : p('--') ?></td> </tr> <?php endforeach;?> </table> |