From: Aleksander Ɓukasz Date: Tue, 21 Jan 2014 11:44:13 +0000 (+0100) Subject: metadata for comments X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/bb956c627f85fbb4bcbe152caea77cc0cbabd5f6 metadata for comments --- diff --git a/apps/wiki/static/wiki/editor b/apps/wiki/static/wiki/editor index 4f9f82a3..e35e6b0e 160000 --- a/apps/wiki/static/wiki/editor +++ b/apps/wiki/static/wiki/editor @@ -1 +1 @@ -Subproject commit 4f9f82a3eed951ca13a4947796fcfd7e988ce100 +Subproject commit e35e6b0ed784fadd45452af8750e23ace7c1fd40 diff --git a/apps/wiki/templates/wiki/bootstrap.html b/apps/wiki/templates/wiki/bootstrap.html index 7e3d5d92..5f8e92f2 100644 --- a/apps/wiki/templates/wiki/bootstrap.html +++ b/apps/wiki/templates/wiki/bootstrap.html @@ -37,6 +37,14 @@ rootSelector: '#editor_root', jsonifySentPayload: false, + {% if request.user.is_authenticated %} + user: { + name: '{{request.user.username}}', + email: '{{request.user.email}}', + id: {{request.user.id}} + }, + {% endif %} + logging: { handlers: { 'sentry': {