From 4edaff61585a66e34181e7ddcbc49cdc32af1803 Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Thu, 13 Mar 2014 13:04:03 +0100 Subject: [PATCH] [PATCH 0/2] nmbug-status: make title/blurb configurable --- 1d/34e97d8cd9390f1c4449895555826cf2b275ca | 82 +++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 1d/34e97d8cd9390f1c4449895555826cf2b275ca diff --git a/1d/34e97d8cd9390f1c4449895555826cf2b275ca b/1d/34e97d8cd9390f1c4449895555826cf2b275ca new file mode 100644 index 000000000..86d04ed3a --- /dev/null +++ b/1d/34e97d8cd9390f1c4449895555826cf2b275ca @@ -0,0 +1,82 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 1183E431FC0 + for ; Thu, 13 Mar 2014 05:04:19 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 5P1neBx1hZcJ for ; + Thu, 13 Mar 2014 05:04:15 -0700 (PDT) +Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com + [74.125.82.51]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client + certificate requested) by olra.theworths.org (Postfix) with ESMTPS id + BF9F9431FAE for ; Thu, 13 Mar 2014 05:04:14 -0700 + (PDT) +Received: by mail-wg0-f51.google.com with SMTP id k14so739883wgh.34 + for ; Thu, 13 Mar 2014 05:04:11 -0700 (PDT) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:from:to:cc:subject:date:message-id; + bh=JxTEhH88oVwIJS4FZUckdzcpfgoxpa7mTcFqaZmDuWI=; + b=C5xDdniMB6fq1+HwPFIWONI6r4eb+/5MxY4Csgj3DcO6XLUOvqcM/X27UbOZlzSD+8 + ssScINYOrGSSGdXmFzJzjFyHC6gy9W0gfL7WImmOsPCEkKEHkM3O5wbVOxsNq8x/djgf + cYUbIcqhbwsfgjRZZxv6PsiuJOzErn4BgQYCUva12IW7hzqUf2D0qnodoRS7S7O5f9PK + 62hA5I/lQDe3xRte/lgxdNzt50cjuA0Ym5/8vC6IyXiC27sZtxY6oE1+9sEQwN3/2pqu + metUXnlzjvIOEoV/Tc3QAVaalXdQzlf0VlN9qcaqXX70cPpWhoYPgjdJ88EKz4HidP5U + 6WLA== +X-Gm-Message-State: + ALoCoQmfD2/YrypWAStndMJkYK75vNPHPcSHXrNCiSUfIDXnvy0MdCyIkIbOdSyg84ZmimeIzNyi +X-Received: by 10.194.192.132 with SMTP id hg4mr1459659wjc.28.1394712249663; + Thu, 13 Mar 2014 05:04:09 -0700 (PDT) +Received: from localhost ([2001:4b98:dc0:43:216:3eff:fe1b:25f3]) + by mx.google.com with ESMTPSA id mw3sm24945789wic.7.2014.03.13.05.04.07 + for + (version=TLSv1.1 cipher=RC4-SHA bits=128/128); + Thu, 13 Mar 2014 05:04:08 -0700 (PDT) +From: Jani Nikula +To: notmuch@notmuchmail.org +Subject: [PATCH 0/2] nmbug-status: make title/blurb configurable +Date: Thu, 13 Mar 2014 13:04:03 +0100 +Message-Id: +X-Mailer: git-send-email 1.7.2.5 +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Thu, 13 Mar 2014 12:04:19 -0000 + +This lets me use nmbug-status for publishing search views in html +outside of the nmbug context. I'm sure especially 2/2 can be done +better. If someone wants to use their mad python skillz to improve this, +it would be great. ;) + +BR, +Jani. + + +Jani Nikula (2): + nmbug-status: parametrize title and blurb in the page header + nmbug-status: make output title and blurb configurable + + devel/nmbug/nmbug-status | 36 ++++++++++++++++++------------------ + devel/nmbug/status-config.json | 5 +++++ + 2 files changed, 23 insertions(+), 18 deletions(-) + +-- +1.7.2.5 + -- 2.26.2