emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Maus <dmaus@ictsoc.de>
To: org-mode <emacs-orgmode@gnu.org>
Subject: [patch] patchwork patch.html template
Date: Fri, 21 May 2010 09:50:57 +0200	[thread overview]
Message-ID: <87ljbd7kwu.wl%dmaus@ictsoc.de> (raw)


[-- Attachment #1.1.1: Type: text/plain, Size: 429 bytes --]

Not sure if I got it right but attached patch is for the template of
patchwork that displays the patches (patch.html).  It adds a link back
to gmane to the displayed message id header field using gmane's
message id resolver (mid.gmane.org).  Thus one can jump back to the
thread in the mailing list with very little effort.

HTH
 -- David

--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.1.2: patchwork-template-patch.patch --]
[-- Type: text/plain, Size: 441 bytes --]

diff --git a/templates/patchwork/patch.html b/templates/patchwork/patch.html
index 7c249ec..6ae7b2a 100644
--- a/templates/patchwork/patch.html
+++ b/templates/patchwork/patch.html
@@ -38,7 +38,7 @@ function toggle_headers(link_id, headers_id)
  </tr>
  <tr>
   <th>Message ID</th>
-  <td>{{ patch.msgid }}</td>
+  <td><a href="http://mid.gmane.org/{{ patch.msgid|urlencode }}">{{ patch.msgid }}</a></td>
  </tr>
  <tr>
   <th>Download</th>

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

             reply	other threads:[~2010-05-21 14:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-21  7:50 David Maus [this message]
2010-05-21 15:15 ` [patch] patchwork patch.html template John Wiegley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ljbd7kwu.wl%dmaus@ictsoc.de \
    --to=dmaus@ictsoc.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).