[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [7101] property: formatting
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [7101] property: formatting |
Date: |
Thu, 10 Mar 2011 08:25:26 +0000 |
Revision: 7101
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7101
Author: sigurdne
Date: 2011-03-10 08:25:24 +0000 (Thu, 10 Mar 2011)
Log Message:
-----------
property: formatting
Modified Paths:
--------------
trunk/property/templates/base/attributes_form.xsl
trunk/property/templates/base/attributes_view.xsl
Modified: trunk/property/templates/base/attributes_form.xsl
===================================================================
--- trunk/property/templates/base/attributes_form.xsl 2011-03-09 14:30:46 UTC
(rev 7100)
+++ trunk/property/templates/base/attributes_form.xsl 2011-03-10 08:25:24 UTC
(rev 7101)
@@ -298,6 +298,22 @@
</xsl:choose>
</input>
</xsl:when>
+ <xsl:when
test="datatype='link'">
+ <input
type="text" name="values_attribute[{counter}][value]" value="{value}" size="30">
+
<xsl:choose>
+
<xsl:when test="disabled!=''">
+
<xsl:attribute name="disabled">
+
<xsl:text> disabled</xsl:text>
+
</xsl:attribute>
+
</xsl:when>
+
</xsl:choose>
+ </input>
+
<xsl:choose>
+
<xsl:when test="value!=''">
+
<br/><a href="{value}" target="_blank"><xsl:value-of
select="value"/></a>
+
</xsl:when>
+
</xsl:choose>
+ </xsl:when>
<xsl:when
test="datatype='event'">
<xsl:choose>
<xsl:when test="warning!=''">
Modified: trunk/property/templates/base/attributes_view.xsl
===================================================================
--- trunk/property/templates/base/attributes_view.xsl 2011-03-09 14:30:46 UTC
(rev 7100)
+++ trunk/property/templates/base/attributes_view.xsl 2011-03-10 08:25:24 UTC
(rev 7101)
@@ -77,6 +77,13 @@
<xsl:value-of
select="value"/>
<img
id="values_attribute_{counter}-trigger"/>
</xsl:when>
+ <xsl:when
test="datatype='link'">
+ <xsl:choose>
+
<xsl:when test="value!=''">
+
<br/><a href="{value}" target="_blank"><xsl:value-of select="value"/></a>
+
</xsl:when>
+ </xsl:choose>
+ </xsl:when>
<xsl:otherwise>
<xsl:value-of
select="value"/>
</xsl:otherwise>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [7101] property: formatting,
Sigurd Nes <=