|
Revision 2
(checked in by douglm, 7 years ago)
|
Initial import of bedework
|
| Line | |
|---|
| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
|---|
| 2 |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
|---|
| 3 |
<xsl:template match="error"> |
|---|
| 4 |
<xsl:choose> |
|---|
| 5 |
<xsl:when test="id='edu.rpi.sss.util.error.exc'"> |
|---|
| 6 |
An exception occurred: <xsl:value-of select="param"/> |
|---|
| 7 |
</xsl:when> |
|---|
| 8 |
<xsl:when test="id='org.bedework.error.nosuchevent'"> |
|---|
| 9 |
Event <xsl:value-of select="param"/> does not exist. |
|---|
| 10 |
</xsl:when> |
|---|
| 11 |
<xsl:when test="id='org.bedework.error.baddates'"> |
|---|
| 12 |
Improperly formatted date(s): <xsl:value-of select="param"/> |
|---|
| 13 |
</xsl:when> |
|---|
| 14 |
<xsl:when test="id='org.bedework.error.noaccess'"> |
|---|
| 15 |
You have insufficient access <xsl:value-of select="param"/> |
|---|
| 16 |
</xsl:when> |
|---|
| 17 |
<xsl:when test="id='org.bedework.error.notitle'"> |
|---|
| 18 |
Please supply a title for your event (required). |
|---|
| 19 |
</xsl:when> |
|---|
| 20 |
<xsl:when test="id='org.bedework.error.location.referenced'"> |
|---|
| 21 |
Location is in use. It cannot be deleted while referenced by an event. |
|---|
| 22 |
</xsl:when> |
|---|
| 23 |
<xsl:otherwise> |
|---|
| 24 |
<xsl:value-of select="id"/> = <xsl:value-of select="param"/> |
|---|
| 25 |
</xsl:otherwise> |
|---|
| 26 |
</xsl:choose> |
|---|
| 27 |
</xsl:template> |
|---|
| 28 |
</xsl:stylesheet> |
|---|
| 29 |
|
|---|