This commit is contained in:
parent
e34be51a16
commit
25e5430b4c
3
app.py
3
app.py
@ -116,7 +116,8 @@ def post_to_post(post_key):
|
||||
|
||||
metadata = postos.insert({
|
||||
'texto': data,
|
||||
'parent_post': f'{post_key}'
|
||||
'parent_post': f'{post_key}',
|
||||
'images': []
|
||||
}, overwrite_mode='update')
|
||||
|
||||
metadata = db.collection('post_parents').insert({
|
||||
|
@ -7,9 +7,9 @@
|
||||
<div class="card s5 blue-grey darken-1">
|
||||
{% endif %}
|
||||
<div class="row" id="post-{{ posto._key }}">
|
||||
<div class="col s4">
|
||||
|
||||
{% if posto.images[0] | length > 0 %}
|
||||
{% if posto.images[0] | length > 0 %}
|
||||
<div class="col s4">
|
||||
<div class="card-image">
|
||||
<!-- <div class="hex-main">
|
||||
<div class="hex-container">
|
||||
@ -23,8 +23,8 @@
|
||||
<span class="card-title"><a class="card-action" href="#post-{{ posto.parent_post }}"> >>{{ posto.parent_post }} </a> </span>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="col s8">
|
||||
<div class="card-content white-text">
|
||||
<span class="card-title">#{{ posto._key }}
|
||||
|
Loading…
Reference in New Issue
Block a user