diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-06-08 10:41:30 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-06-10 15:38:21 +0200 |
commit | edf62eb41a338319488eb0b71134da2d38d0a7bd (patch) | |
tree | 2ca0242c64e0e66cf325ad815a225e1595797975 | |
parent | 000269cec81c80b9a7a1e98d46b3d062fd0a9996 (diff) | |
download | nextcloud-server-edf62eb41a338319488eb0b71134da2d38d0a7bd.tar.gz nextcloud-server-edf62eb41a338319488eb0b71134da2d38d0a7bd.zip |
Add user ID to log entries in admin page
-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 0cdefe10083..b5c5b2510b6 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> |