diff options
author | luxagraf <sng@luxagraf.net> | 2023-11-15 17:59:09 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2023-11-15 17:59:09 -0500 |
commit | 4f4fd5d8ab9828cc4091b3773b7dbbf6b40b87d6 (patch) | |
tree | b04422faead4150d886c53c4a58f7e7928b3d92b | |
parent | d9a6fc469d81401ca836fea356fc117e243c1183 (diff) |
gtd: fixed some more bugs
-rw-r--r-- | app/gtd/templates/gtd/post_table.html | 2 | ||||
-rw-r--r-- | app/gtd/views.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/gtd/templates/gtd/post_table.html b/app/gtd/templates/gtd/post_table.html index f6803fe..c9eb717 100644 --- a/app/gtd/templates/gtd/post_table.html +++ b/app/gtd/templates/gtd/post_table.html @@ -81,7 +81,7 @@ Date last pub <span class="hide">0</span><img src="/static/admin/img/icon-no.svg" alt="False">{%endif%} </td> <td class="field-days_overdue">{{object.days_overdue}}</td> - <td class="field-days_overdue"><a href="{% url 'notes:edit' object.pk %}">edit</a></td></tr> + <td class="field-days_overdue"><a href="{% url 'gtd:wirednote-edit' object.pk %}">edit</a></td></tr> </tr>{% endfor %}{% endif %} </tbody> </table> diff --git a/app/gtd/views.py b/app/gtd/views.py index 33c8bf1..06728f0 100644 --- a/app/gtd/views.py +++ b/app/gtd/views.py @@ -192,7 +192,7 @@ class WiredPostTodoView(ListView): def get_context_data(self, **kwargs): context = super(WiredPostTodoView, self).get_context_data(**kwargs) - context['reviews'] = WiredNote.objects.filter(plan__in=[1,2,3]).exclude(status=4) + context['reviews'] = WiredNote.objects.filter(plan__in=[1,2,3]).exclude(status__in=[4,5]) return context |