hgweb: add atom error template
authorSune Foldager <cryo@cyanite.org>
Tue, 10 Feb 2009 14:21:27 +0100
changeset 7749 f32af51aaee5
parent 7748 09bec6fd747c
child 7750 b03416194895
hgweb: add atom error template
templates/atom/error.tmpl
templates/atom/map
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/atom/error.tmpl	Tue Feb 10 14:21:27 2009 +0100
@@ -0,0 +1,17 @@
+{header}
+ <!-- Error -->
+ <id>{urlbase}{url}</id>
+ <link rel="self" href="{urlbase}{url}atom-log"/>
+ <link rel="alternate" href="{urlbase}{url}"/>
+ <title>Error</title>
+ <updated>1970-01-01T00:00:00+00:00</updated>
+ <entry>
+  <title>Error</title>
+  <id>http://www.selenic.com/mercurial/#error</id>
+  <author>
+    <name>mercurial</name>
+  </author>
+  <updated>1970-01-01T00:00:00+00:00</updated>
+  <content type="text">{error|escape}</content>
+ </entry>
+</feed>
--- a/templates/atom/map	Tue Feb 10 14:20:42 2009 +0100
+++ b/templates/atom/map	Tue Feb 10 14:21:27 2009 +0100
@@ -8,3 +8,4 @@
 filelogentry = filelogentry.tmpl
 tags = tags.tmpl
 tagentry = tagentry.tmpl
+error = error.tmpl