From patchwork Wed Sep 1 16:57:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Finucane X-Patchwork-Id: 1523342 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; dkim=fail reason="key not found in DNS" header.d=that.guru header.i=@that.guru header.a=rsa-sha256 header.s=x header.b=QrLBc5oX; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4H09hY2X79z9sX3 for ; Thu, 2 Sep 2021 03:16:45 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4H09hX6c74z2ywh for ; Thu, 2 Sep 2021 03:16:44 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="key not found in DNS" header.d=that.guru header.i=@that.guru header.a=rsa-sha256 header.s=x header.b=QrLBc5oX; dkim-atps=neutral X-Original-To: patchwork@lists.ozlabs.org Delivered-To: patchwork@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=that.guru (client-ip=136.175.108.79; helo=mail-108-mta79.mxroute.com; envelope-from=stephen@that.guru; receiver=) Authentication-Results: lists.ozlabs.org; dkim=fail reason="key not found in DNS" header.d=that.guru header.i=@that.guru header.a=rsa-sha256 header.s=x header.b=QrLBc5oX; dkim-atps=neutral Received: from mail-108-mta79.mxroute.com (mail-108-mta79.mxroute.com [136.175.108.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4H09hH3Zrsz2ynD for ; Thu, 2 Sep 2021 03:16:30 +1000 (AEST) Received: from filter004.mxroute.com ([149.28.56.236] filter004.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta79.mxroute.com (ZoneMTA) with ESMTPSA id 17ba25ca8bf00074ba.001 for (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Wed, 01 Sep 2021 17:16:26 +0000 X-Zone-Loop: 81dedb87bc7324eaf7d747e1a0d6b070245ba38e7cfd X-Originating-IP: [149.28.56.236] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=that.guru; s=x; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=YtbsQpZbnrVc36ftvhGx94CTa5gK52VtGzPhYoUo55k=; b=QrLBc5oXoppXhLjyehQytC2Y9D R28M0D9lL+CPXdxbmhWukcPnzUXEz9gI7IE9EvoBbUnEoWrehvLjBV/pbI1T6rKqFDYl8so+0trp4 BCFdE43E+ToZl/e/8YmgehcGH8aXk6wYQSzF8/CH5tnVSTtfdMPbEmXx2bNXS7JLBfP2UPxs2+u9C n+jL2GLp5mF6/bc6Zp6lr/oGjzmLryyAOe7Fdz86SeTluxs+lu4nJHlK+joXyxpXwm9vMvgp6jxEK AEKoh/+Q9Dc74EM82bC36GXCfVpcJlK4uer+y0HfZv9Xj7TC8pq3ZTiXnLSGJmbDN6hJGpjlXx+js G1Jkk+4w==; From: Stephen Finucane To: patchwork@lists.ozlabs.org Subject: [RFC PATCH v2 15/19] WIP: templates: Convert todo-list view Date: Wed, 1 Sep 2021 17:57:52 +0100 Message-Id: <20210901165756.181192-16-stephen@that.guru> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210901165756.181192-1-stephen@that.guru> References: <20210901165756.181192-1-stephen@that.guru> MIME-Version: 1.0 X-AuthUser: stephen@that.guru X-BeenThere: patchwork@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Patchwork development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Patchwork" Signed-off-by: Stephen Finucane --- patchwork/templates/patchwork/todo-list.html | 43 ++++++++++++++++---- 1 file changed, 35 insertions(+), 8 deletions(-) diff --git patchwork/templates/patchwork/todo-list.html patchwork/templates/patchwork/todo-list.html index 6c656b10..2bfddaee 100644 --- patchwork/templates/patchwork/todo-list.html +++ patchwork/templates/patchwork/todo-list.html @@ -1,17 +1,44 @@ -{% extends "base.html" %} +{% extends "base2.html" %} {% load person %} -{% block title %}{{ user }}'s todo list{% endblock %} +{% block title %}Todo list{% endblock %} {% block body %} -

TODO

+
+

+ Todo list +

-

- A Patchwork todo-list contains patches that are assigned to you, are in an - "action required" state ({{ action_required_states|join:", " }}), and are - not archived. -

+
+

+ Your Patchwork todo list contains patches that are assigned to you, + are in an "action required" state ({{ action_required_states|join:", " }}), + and are not archived. +

+
+ +
+{% if patches %} +{% for patch in patches %} +{% endfor %} +{% else %} +
+
+
+ + + +
+
+

You have no pending reviews.

+
+
+
+{% endif %} + +
+
{% include "patchwork/partials/patch-list.html" %} {% endblock %}