Commit e9dd0f42 authored by Alexandre's avatar Alexandre

update: sib-conversation

parent 56a81c9e
......@@ -16,7 +16,7 @@ import itertools
Conversation._meta.permission_classes = [ThreadPermission]
User._meta.serializer_fields = ['@id', 'username', 'first_name', 'last_name', 'email', 'actions', 'created_actions', 'get_full_name', 'userprofile']
User._meta.rdf_context = {"get_full_name": "rdfs:label"}
User._meta.rdf_context = {"get_full_name": "rdfs:label", "photo": "foaf:depiction"}
User._meta.depth = 1
User._meta.many_depth = 0
User._meta.get_field('username').verbose_name = "Email"
......
......@@ -2,6 +2,7 @@
<sib-conversation
bind-resources
id-suffix="conversation"
extra-context='{"userprofile.photo": "foaf:depiction"}'
></sib-conversation>
<script>
......
......@@ -12,8 +12,8 @@
<!--<script type="module" src="https://unpkg.com/@startinblox/core@0.7/src/elements/sib-map.js"></script>-->
<!--<script type="module" src="https://cdn.happy-dev.fr/sib-core/src/elements/sib-map.js"></script>-->
<!--<script type="module" src="http://127.0.0.1/sib-core/src/elements/sib-map.js"></script>-->
<!--<script type="module" src="https://unpkg.com/@startinblox/component-conversation@0.2.6"></script>-->
<script type="module" src="https://cdn.happy-dev.fr/sib-conversation/sib-conversation.js"></script>
<script type="module" src="https://unpkg.com/@startinblox/component-conversation@0.2"></script>
<!--<script type="module" src="https://cdn.happy-dev.fr/sib-conversation/sib-conversation.js"></script>-->
<!--<script type="module" src="http://127.0.0.1/sib-conversation/sib-conversation.js"></script>-->
<script type="module" src="{% static 'js/risefor-map.js' %}"></script>
<script type="text/javascript"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment