From patchwork Mon Aug 24 18:23:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Damien Lespiau X-Patchwork-Id: 510242 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 131A31402A0 for ; Tue, 25 Aug 2015 04:29:19 +1000 (AEST) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id E506B1A1D80 for ; Tue, 25 Aug 2015 04:29:18 +1000 (AEST) X-Original-To: patchwork@lists.ozlabs.org Delivered-To: patchwork@lists.ozlabs.org Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lists.ozlabs.org (Postfix) with ESMTP id AFB3B1A1D73 for ; Tue, 25 Aug 2015 04:24:25 +1000 (AEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 24 Aug 2015 11:24:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,739,1432623600"; d="scan'208";a="789969337" Received: from smarupud-mobl2.amr.corp.intel.com (HELO strange.amr.corp.intel.com) ([10.254.186.249]) by fmsmga002.fm.intel.com with ESMTP; 24 Aug 2015 11:24:24 -0700 From: Damien Lespiau To: patchwork@lists.ozlabs.org Subject: [PATCH 30/51] base: Use a Bootstrap badge for the number of todo items Date: Mon, 24 Aug 2015 19:23:19 +0100 Message-Id: <1440440620-25937-31-git-send-email-damien.lespiau@intel.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1440440620-25937-1-git-send-email-damien.lespiau@intel.com> References: <1440440620-25937-1-git-send-email-damien.lespiau@intel.com> X-BeenThere: patchwork@lists.ozlabs.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Patchwork development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Patchwork" Signed-off-by: Damien Lespiau Acked-by: Stephen Finucane --- templates/base.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/base.html b/templates/base.html index 3299193..a5a16b1 100644 --- a/templates/base.html +++ b/templates/base.html @@ -47,7 +47,8 @@ {% endif %} {% if user.is_authenticated %}
  • Todo - ({{ user.profile.n_todo_patches }})
  • + {{ user.profile.n_todo_patches }} +
  • Bundles
  • {% if user.is_staff %}
  • Admin