Re: [Orgmode] [patch] patchwork patch.html template

2010-05-21 Thread John Wiegley
On May 21, 2010, at 3:50 AM, David Maus wrote:

> 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.

You got it right. :)

John


___
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


[Orgmode] [patch] patchwork patch.html template

2010-05-21 Thread David Maus
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 dmj...@jabber.org
Email. dm...@ictsoc.de
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)
  
  
   Message ID
-  {{ patch.msgid }}
+  http://mid.gmane.org/{{ patch.msgid|urlencode }}">{{ 
patch.msgid }}
  
  
   Download


pgpF29fHIzw6C.pgp
Description: PGP signature
___
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