summaryrefslogtreecommitdiff
path: root/gentoobrowse/xslt/error.xslt
blob: 0ba1530ec60cfdb5b74623ab222f07b3862ee796 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:import href="base.xslt" />
  <xsl:output encoding="utf-8" method="html" media-type="text/html" indent="yes" />

  <xsl:template name="head">
		<title>Argh! Error! &#183; Gentoo Browse</title>
		<meta name="google-site-verification" content="f2uqzTiSxj7gbzzRzf4nOCB3WfQuWV9Knfjb9ju69jU" />
		<meta name="description" content="Error" />
  </xsl:template>

  <xsl:template name="content">
  	<xsl:for-each select="/error">
			<h2>Error</h2>
			<h3><xsl:value-of select="/error/project2:error-type" /></h3>
			<p><xsl:value-of select="/error/project2:error-what" /></p>
  	</xsl:for-each>
  	<xsl:for-each select="/notfound">
			<h2>Not found</h2>
			<p>The resource at &quot;<xsl:value-of select="/notfound/project2:missing-resource" />&quot; could not be found.</p>
  	</xsl:for-each>
  </xsl:template>
</xsl:stylesheet>