From patchwork Thu Oct 1 14:12:34 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Damien Lespiau X-Patchwork-Id: 525020 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 613DF140D16 for ; Fri, 2 Oct 2015 00:18:06 +1000 (AEST) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 45BC71A070E for ; Fri, 2 Oct 2015 00:18:06 +1000 (AEST) X-Original-To: patchwork@lists.ozlabs.org Delivered-To: patchwork@lists.ozlabs.org Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lists.ozlabs.org (Postfix) with ESMTP id 035D21A0343 for ; Fri, 2 Oct 2015 00:13:49 +1000 (AEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP; 01 Oct 2015 07:13:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,617,1437462000"; d="scan'208";a="817195473" Received: from unknown (HELO strange.ger.corp.intel.com) ([10.252.16.209]) by orsmga002.jf.intel.com with ESMTP; 01 Oct 2015 07:13:48 -0700 From: Damien Lespiau To: patchwork@lists.ozlabs.org Subject: [PATCH 29/49] base: Use a Bootstrap badge for the number of todo items Date: Thu, 1 Oct 2015 15:12:34 +0100 Message-Id: <1443708774-26996-30-git-send-email-damien.lespiau@intel.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1443708774-26996-1-git-send-email-damien.lespiau@intel.com> References: <1443708774-26996-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 299b0a1..e5dfee8 100644 --- a/templates/base.html +++ b/templates/base.html @@ -46,7 +46,8 @@ {% endif %} {% if user.is_authenticated %}
  • Todo - ({{ user.profile.n_todo_patches }})
  • + {{ user.profile.n_todo_patches }} +
  • Bundles
  • {% if user.is_staff %}
  • Admin