metadata for comments
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Tue, 21 Jan 2014 11:44:13 +0000 (12:44 +0100)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Tue, 12 Aug 2014 09:47:12 +0000 (11:47 +0200)
apps/wiki/static/wiki/editor
apps/wiki/templates/wiki/bootstrap.html

index 4f9f82a..e35e6b0 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 4f9f82a3eed951ca13a4947796fcfd7e988ce100
+Subproject commit e35e6b0ed784fadd45452af8750e23ace7c1fd40
index 7e3d5d9..5f8e92f 100644 (file)
                 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': {