add 'create a task for everyone, is available'

This commit is contained in:
2020-10-05 01:06:44 +00:00
parent 5ddee4296d
commit bfa935558b
5 changed files with 38 additions and 13 deletions

View File

@@ -9,6 +9,9 @@
{% csrf_token %}
<label>User
<select id="id_user" name="user">
<option value="all">
Alle
</option>
{% for user in users %}
<option value="{{ user.id }}" {% if current_user == user.id %} selected {% endif %}>
{{ user.username }}
@@ -43,7 +46,7 @@
{% for task in group.list %}
<input type="checkbox" name="checkbox" value="{{ task.id }}" {% if task.completed %} checked {% endif %}>
{{ task.title|truncatewords:10 }}</a>
{{ task.title }}</a>
{{ task.due_date|date:"d.m.Y" }}