Commit 50bc0a0e by Őry Máté

dashboard: use new activity interface in templates

parent 59cee045
......@@ -16,9 +16,9 @@
</span>
<strong>{{ a.get_readable_name }}</strong>
{{ a.started|date:"Y-m-d. H:i" }}, {{ a.user }}
{% if a.instanceactivity_set.count > 0 %}
{% if a.children.count > 0 %}
<div class="sub-timeline">
{% for s in a.instanceactivity_set.all %}
{% for s in a.children.all %}
<div data-activity-id="{{ s.pk }}" class="sub-activity">
{{ s.get_readable_name }} -
{% if s.finished %}
......
......@@ -16,9 +16,9 @@
</span>
<strong>{{ a.get_readable_name }}</strong>
{{ a.started|date:"Y-m-d. H:i" }}, {{ a.user }}
{% if a.instanceactivity_set.count > 0 %}
{% if a.children.count > 0 %}
<div class="sub-timeline">
{% for s in a.instanceactivity_set.all %}
{% for s in a.children.all %}
<div data-activity-id="{{ s.pk }}" class="sub-activity">
{{ s.get_readable_name }} -
{% if s.finished %}
......
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 sign in to comment