From: W. Trevor King Date: Sat, 10 May 2014 19:12:46 +0000 (+1700) Subject: [PATCH 2/5] Move the generated date from the top of the page to the footer. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3f2d79d5db2162f0a982705d745ea53a784375ad;p=notmuch-archives.git [PATCH 2/5] Move the generated date from the top of the page to the footer. --- diff --git a/f1/6d64a6cd5013207abb6b27d7edb08761c064df b/f1/6d64a6cd5013207abb6b27d7edb08761c064df new file mode 100644 index 000000000..80fdb16a9 --- /dev/null +++ b/f1/6d64a6cd5013207abb6b27d7edb08761c064df @@ -0,0 +1,106 @@ +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 CC380431FD7 + for ; Sat, 10 May 2014 12:13:43 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] + 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 ApB6KYcUIY7s for ; + Sat, 10 May 2014 12:13:37 -0700 (PDT) +Received: from qmta06.westchester.pa.mail.comcast.net + (qmta06.westchester.pa.mail.comcast.net [76.96.62.56]) + by olra.theworths.org (Postfix) with ESMTP id 49383431FC2 + for ; Sat, 10 May 2014 12:13:33 -0700 (PDT) +Received: from omta17.westchester.pa.mail.comcast.net ([76.96.62.89]) + by qmta06.westchester.pa.mail.comcast.net with comcast + id 0Jys1o0021vXlb856KDV8u; Sat, 10 May 2014 19:13:29 +0000 +Received: from odin.tremily.us ([24.18.63.50]) + by omta17.westchester.pa.mail.comcast.net with comcast + id 0KDU1o002152l3L3dKDUfN; Sat, 10 May 2014 19:13:29 +0000 +Received: from mjolnir.tremily.us (unknown [192.168.0.140]) + by odin.tremily.us (Postfix) with ESMTPS id A62BB119F475; + Sat, 10 May 2014 12:13:27 -0700 (PDT) +Received: (nullmailer pid 7434 invoked by uid 1000); + Sat, 10 May 2014 19:12:55 -0000 +From: "W. Trevor King" +To: notmuch@notmuchmail.org +Subject: [PATCH 2/5] Move the generated date from the top of the page to the + footer. +Date: Sat, 10 May 2014 12:12:46 -0700 +Message-Id: + <91d9a6a0d7272fe6717f3fc9af6417be21d37571.1399748615.git.wking@tremily.us> +X-Mailer: git-send-email 1.9.1.353.gc66d89d +In-Reply-To: +References: +In-Reply-To: +References: +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; + s=q20140121; t=1399749209; + bh=+6VPzj2sbr60oB6hJe17nrovo5ExFeNSWWRGaXiHASA=; + h=Received:Received:Received:Received:From:To:Subject:Date: + Message-Id; + b=vGm00wtRxfZbqgA7rpmfpsJB2zRGU/A9nnH3pi4yt6h406Ms84VSDUpM8oV7eX2Zn + 3NMKnIU+3Fodrfx3Tti/1IWdhUAg83jnbnQpzitgaWkntzFy+ideiBzAARj4TKP6Fl + 3vjBhOYx9NivqYOMH2TZO6RysMAz/L0zLdmRllt+Q/mxJp4k443y22LFLzLiT1Ulq/ + pbdLpOPTg3KvXXRl/jkOH5Ynt6lfptetuF4QC48RNS4d9/pCVDLPrHqG0err+5n5YK + 4bBlQDwz76uuCIAHapBBsX9m744P7IKNCBEa5BWtahtiZpUguj2mPlZIfCskDnWi5e + OuZo4Kxv3zhzw== +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: Sat, 10 May 2014 19:13:44 -0000 + +From: Carl Worth + +It's useful reference information, but anyone who wants it will look +for and find it. We don't need this front-and-center. +--- + devel/nmbug/nmbug-status | 7 ++----- + 1 file changed, 2 insertions(+), 5 deletions(-) + +diff --git a/devel/nmbug/nmbug-status b/devel/nmbug/nmbug-status +index a7c7920..b4f9829 100755 +--- a/devel/nmbug/nmbug-status ++++ b/devel/nmbug/nmbug-status +@@ -312,18 +312,15 @@ _PAGES['html'] = HtmlPage( + + +

{title}

+-

+-Generated: {date}
+ {blurb} +

+

Views

+-'''.format(date=datetime.datetime.utcnow().date(), +- title=config['meta']['title'], ++'''.format(title=config['meta']['title'], + blurb=config['meta']['blurb'], + encoding=_ENCODING, + inter_message_padding='0.25em', + border_radius='0.5em'), +- footer='\n\n', ++ footer='

Generated: {date}\n\n'.format(date=datetime.datetime.utcnow().date()) + ) + + if args.list_views: +-- +1.9.1.353.gc66d89d +