From b881cf217dc277aef1f05339cc6b89763d894234 Mon Sep 17 00:00:00 2001 From: Robin Sonnabend <robin@fsmpi.rwth-aachen.de> Date: Fri, 7 Jul 2017 18:04:07 +0200 Subject: [PATCH] Specify typeid and open in "Aktuelle Todos"-link /close #126 --- templates/protocol-show.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/protocol-show.html b/templates/protocol-show.html index 5c00acb..2faf878 100644 --- a/templates/protocol-show.html +++ b/templates/protocol-show.html @@ -124,7 +124,7 @@ </div> <div id="right-column" class="col-lg-6"> {% if protocol.is_done() and has_public_view_right and logged_in %} - <h3>Todos dieser Sitzung <a href="{{url_for("list_todos")}}">Aktuelle Todos</a> <a href="{{url_for("new_todo", protocol_id=protocol.id)}}">Neu</a></h3> + <h3>Todos dieser Sitzung <a href="{{url_for("list_todos", protocoltype_id=protocol.protocoltype.id, state_open=0)}}">Aktuelle Todos</a> <a href="{{url_for("new_todo", protocol_id=protocol.id)}}">Neu</a></h3> <ul> {% if protocol.get_originating_todos()|length > 0 %} {% for todo in protocol.get_originating_todos() %} -- GitLab