From bb956c627f85fbb4bcbe152caea77cc0cbabd5f6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Tue, 21 Jan 2014 12:44:13 +0100 Subject: [PATCH] metadata for comments --- apps/wiki/static/wiki/editor | 2 +- apps/wiki/templates/wiki/bootstrap.html | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) 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': { -- 2.20.1