Commit 0698d651 authored by Alexandre's avatar Alexandre

update: sib-conversation v2.2 - v0.0.11 --> v2.5 - v0.0.12

parent 5acb33fd
......@@ -88,7 +88,7 @@ class Action(Model):
class Meta:
auto_author = 'author'
serializer_fields = [ '@id','name', 'author', 'date', 'description', 'theme', 'address', 'city', 'postcode', 'num_of_members', 'members', 'actions', 'links', 'conversation', 'lat', 'lng', 'status', 'crowdfunding', 'start_time', 'end_time']
nested_fields=[ "author", "links", "actions", "conversation", "members"]
nested_fields=[ "author", "links", "actions", "conversation", "members", "author"]
permission_classes=[AnonymousReadOnly]
depth = 0
ordering=['-created_at']
......
......@@ -14,6 +14,7 @@
<h2>Référent.e.s et modératrices.teurs</h2>
<sib-display
bind-resources
id-suffix="author"
data-fields="userprofile.photo, name, email"
set-name="first_name, space, last_name"
value-space="&nbsp;"
......
......@@ -12,7 +12,7 @@
<!--<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.2"></script>
<script type="module" src="https://unpkg.com/@startinblox/component-conversation@0.2.5"></script>
<script type="text/javascript"
src="https://cdn.rawgit.com/alexcorvi/anchorme.js/gh-pages/dist-browser/anchorme.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
......
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