Add user ID to log entries in admin page

This commit is contained in:
Lukas Reschke 2016-06-08 10:41:30 +02:00
parent 000269cec8
commit edf62eb41a
No known key found for this signature in database
GPG Key ID: 9AB0ADB949B6898C
2 changed files with 6 additions and 0 deletions

View File

@ -64,6 +64,11 @@ OC.Log = {
timeTd.text(formatDate(entry.time * 1000)); timeTd.text(formatDate(entry.time * 1000));
} }
row.append(timeTd); row.append(timeTd);
var userTd = $('<td/>');
userTd.text(entry.user);
row.append(userTd);
$('#log').append(row); $('#log').append(row);
} }
OC.Log.loaded += entries.length; OC.Log.loaded += entries.length;

View File

@ -519,6 +519,7 @@ if ($_['cronErrors']) {
p($entry->time); p($entry->time);
}?> }?>
</td> </td>
<td><?php isset($entry->user) ? p($entry->user) : p('--') ?></td>
</tr> </tr>
<?php endforeach;?> <?php endforeach;?>
</table> </table>