fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [9714]


From: Torstein
Subject: [Fmsystem-commits] [9714]
Date: Tue, 03 Jul 2012 11:10:42 +0000

Revision: 9714
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=9714
Author:   vator
Date:     2012-07-03 11:10:42 +0000 (Tue, 03 Jul 2012)
Log Message:
-----------


Modified Paths:
--------------
    trunk/controller/templates/base/check_list/register_case.xsl

Modified: trunk/controller/templates/base/check_list/register_case.xsl
===================================================================
--- trunk/controller/templates/base/check_list/register_case.xsl        
2012-07-03 11:10:33 UTC (rev 9713)
+++ trunk/controller/templates/base/check_list/register_case.xsl        
2012-07-03 11:10:42 UTC (rev 9714)
@@ -5,8 +5,15 @@
 <div id="main_content" class="medium">
        
        <h1>Utførelse av kontroll: <xsl:value-of select="control/title"/></h1>
-       <h2>Sjekkliste for: <xsl:value-of 
select="location_array/loc1_name"/></h2>
-       
+       <xsl:choose>
+               <xsl:when test="type = 'component'">
+                       <h2><xsl:value-of 
select="component_array/xml_short_desc"/></h2>
+               </xsl:when>
+               <xsl:otherwise>
+                       <h2>Bygg: <xsl:value-of 
select="location_array/loc1_name"/></h2>
+               </xsl:otherwise>
+       </xsl:choose>
+               
        <xsl:call-template name="check_list_tab_menu" />
 
        <div id="view_cases">




reply via email to

[Prev in Thread] Current Thread [Next in Thread]