Improve activity interface
This commit is contained in:
parent
dd4b24d999
commit
9c7cb07dec
13 changed files with 772 additions and 683 deletions
|
|
@ -2,6 +2,14 @@
|
|||
{% load render_table from django_tables2 %}
|
||||
{% load i18n crispy_forms_tags%}
|
||||
{% block content %}
|
||||
{% if started_activities %}
|
||||
<h2>{% trans "Current activity" %}</h2>
|
||||
{% for activity in started_activities %}
|
||||
{% include "activity/activity_info.html" %}
|
||||
<hr>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
<h2>{% trans "Upcoming activities" %}</h2>
|
||||
{% if upcoming.data %}
|
||||
{% render_table upcoming %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue