Hey,
Attached is a patch in order to put a link in the html report in order
to get a quicker way to open a file which contains defects.
It's okey to commit? What do you think?
Néstor.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Gendarme" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/gendarme?hl=en
-~----------~----~----~----~------~----~------~--~---
Index: ChangeLog
===================================================================
--- ChangeLog (revisión: 121984)
+++ ChangeLog (copia de trabajo)
@@ -1,3 +1,8 @@
+2008-12-22 Néstor Salceda <[email protected]>
+
+ * gendarme.xsl: Put a link with the defect source of file in order
+ to open the file only clicking in the hyperlink.
+
2008-12-14 Sebastien Pouliot <[email protected]>
* XmlResultWriter.cs: Let the XmlWriter encode any non-XML compliant
Index: gendarme.xsl
===================================================================
--- gendarme.xsl (revisión: 121964)
+++ gendarme.xsl (copia de trabajo)
@@ -172,7 +172,7 @@
<b>Location:</b> <xsl:value-of select="@Location" /><br/>
</xsl:if>
<xsl:if test="string-length(@Source) > 0">
- <b>Source:</b> <xsl:value-of select="@Source" /><br/>
+ <b>Source:</b> <a href="{substring-before (@Source, '(')}"><xsl:value-of select="@Source" /></a><br/>
</xsl:if>
<xsl:if test="string-length(.) > 0">
<b>Details:</b> <xsl:value-of select="." /><br/>