Show "Anyone" for unassigned tasks in search results
This commit is contained in:
parent
9b6418c7b1
commit
37bb0fb5a2
1 changed files with 1 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
|||
{% extends "todo/base.html" %}
|
||||
|
||||
{% block title %}Search results{% endblock %}
|
||||
{% block body_id %}post_search{% endblock %}
|
||||
|
||||
{% block content_title %}
|
||||
<h2 class="page_title">Search</h2>
|
||||
|
@ -15,7 +14,7 @@
|
|||
<p><strong><a href="{% url 'todo-task_detail' f.id %}">{{ f.title }}</a></strong><br />
|
||||
<span class="minor">
|
||||
On list: <a href="{% url 'todo-incomplete_tasks' f.list.id f.list.slug %}">{{ f.list.name }}</a><br />
|
||||
Assigned to: {{ f.assigned_to }} (created by: {{ f.created_by }})<br />
|
||||
Assigned to: {% if f.assigned_to %}{{ f.assigned_to }}{% else %}Anyone{% endif %} (created by: {{ f.created_by }})<br />
|
||||
Complete: {{ f.completed|yesno:"Yes,No" }}
|
||||
</span>
|
||||
</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue