changeset 7749:f32af51aaee5

hgweb: add atom error template
author Sune Foldager <cryo@cyanite.org>
date Tue, 10 Feb 2009 14:21:27 +0100
parents 09bec6fd747c
children b03416194895
files templates/atom/error.tmpl templates/atom/map
diffstat 2 files changed, 18 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /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