hotfix: place and tags show correctly
This commit is contained in:
parent
3275de7c9c
commit
727bd10aeb
1 changed files with 8 additions and 4 deletions
|
@ -4,11 +4,13 @@
|
|||
<tr>
|
||||
<td>
|
||||
<span class="glyphicon glyphicon-tree-deciduous"></span>
|
||||
{% if activity.places.all %}
|
||||
<span>{{ activity.places.all |join:", "}}</span>
|
||||
{% with activity|get_herited:'places' as places %}
|
||||
{% if places.all %}
|
||||
<span>{{ places.all |join:", "}}</span>
|
||||
{% else %}
|
||||
<span> - </span>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
</td>
|
||||
<td>
|
||||
<strong>public</strong>
|
||||
|
@ -36,11 +38,13 @@
|
|||
</tr>
|
||||
<td>
|
||||
<span class="glyphicon glyphicon-tag"></span>
|
||||
{% if activity.tags.all %}
|
||||
<span>{{ activity.tags.all |join:", "}}</span>
|
||||
{% with activity|get_herited:'tags' as tags %}
|
||||
{% if tags.all %}
|
||||
<span>{{ tags.all |join:", "}}</span>
|
||||
{% else %}
|
||||
<span> - </span>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
</td>
|
||||
<td>
|
||||
{% if has_perm %}
|
||||
|
|
Loading…
Reference in a new issue