Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Icecast-Server
Commits
bc6a9603
Commit
bc6a9603
authored
Jun 29, 2018
by
Philipp Schafft
🦁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Feature: Display error code if known
parent
4e7985c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
admin/error-html.xsl
admin/error-html.xsl
+3
-0
admin/error-plaintext.xsl
admin/error-plaintext.xsl
+5
-0
No files found.
admin/error-html.xsl
View file @
bc6a9603
...
...
@@ -10,6 +10,9 @@
<h3>
Response
</h3>
<h4>
Message
</h4>
<p><xsl:value-of
select=
"state/text"
/></p>
<xsl:if
test=
"state/@definition"
>
<p>
Error code:
<xsl:value-of
select=
"state/@definition"
/></p>
</xsl:if>
</div>
</xsl:for-each>
</div>
...
...
admin/error-plaintext.xsl
View file @
bc6a9603
...
...
@@ -5,6 +5,11 @@
<xsl:text>
Report:


</xsl:text>
<xsl:value-of
select=
"state/text"
/>
<xsl:text>


</xsl:text>
<xsl:if
test=
"state/@definition"
>
<xsl:text>
Error code:
</xsl:text>
<xsl:value-of
select=
"state/@definition"
/>
<xsl:text>


</xsl:text>
</xsl:if>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment