diff --git a/fet2020/intern/admin.py b/fet2020/intern/admin.py index d15a42d4..15fb3a76 100644 --- a/fet2020/intern/admin.py +++ b/fet2020/intern/admin.py @@ -114,7 +114,6 @@ class TopicAdmin(admin.ModelAdmin): "fields": ( "title", "topic_group", - "task_list", "archive", "description", ) diff --git a/fet2020/templates/intern/task_create.html b/fet2020/templates/intern/task_create.html deleted file mode 100644 index d16cb036..00000000 --- a/fet2020/templates/intern/task_create.html +++ /dev/null @@ -1,60 +0,0 @@ -{% extends 'base.html' %} - -{% block title %}Task hinzufügen{% endblock %} - -{% block content %} - - - Task hinzufügen - - - {% csrf_token %} - - {% if form.non_field_errors %} - - - Fehler: - {{ form.non_field_errors }} - - {% endif %} - - - {{ form.title.label }} - {% if form.title.errors %} - - {{ form.title.errors }} - - {% endif %} - - - - - {{ form.due_date.label }} - - - - - {{ form.assigned_to.label }} - {% if form.assigned_to.errors %} - - {{ form.assigned_to.errors }} - - {% endif %} - - {% for elem in form.assigned_to %} - {% if forloop.first %} - Alle - {% else %} - {{ elem }} - {% endif %} - {% endfor %} - - - - - - - - - -{% endblock %} diff --git a/fet2020/templates/intern/topic/topic_detail.html b/fet2020/templates/intern/topic/topic_detail.html index 0a1aedfa..46b0a21f 100644 --- a/fet2020/templates/intern/topic/topic_detail.html +++ b/fet2020/templates/intern/topic/topic_detail.html @@ -33,9 +33,6 @@ Thema bearbeiten - {% if topic.task_list %} - Task hinzufügen - {% endif %}