linked_tasks = [self.tasks[l] for l in task.links]
filtered_tasks = [t for t in self.tasks.values() if t.visible and t != self and (t not in linked_tasks) and (len(search) == 0 or t.matches(search))]
return j2env.get_template('task.html').render(
linked_tasks = [self.tasks[l] for l in task.links]
filtered_tasks = [t for t in self.tasks.values() if t.visible and t != self and (t not in linked_tasks) and (len(search) == 0 or t.matches(search))]
return j2env.get_template('task.html').render(