fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [10861] Added top section with info about check list


From: Torstein
Subject: [Fmsystem-commits] [10861] Added top section with info about check list
Date: Sat, 16 Feb 2013 07:56:50 +0000

Revision: 10861
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10861
Author:   vator
Date:     2013-02-16 07:56:48 +0000 (Sat, 16 Feb 2013)
Log Message:
-----------
Added top section with info about check list 

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

Modified: 
trunk/controller/templates/base/check_list/view_cases_for_check_list.xsl
===================================================================
--- trunk/controller/templates/base/check_list/view_cases_for_check_list.xsl    
2013-02-15 18:24:41 UTC (rev 10860)
+++ trunk/controller/templates/base/check_list/view_cases_for_check_list.xsl    
2013-02-16 07:56:48 UTC (rev 10861)
@@ -60,34 +60,7 @@
                }
        </script>
                
-               <div id="check-list-heading">
-               <div class="box-1">
-                       <h1>Kontroll: <xsl:value-of 
select="control/title"/></h1>
-                       <xsl:choose>
-                               <xsl:when test="type = 'component'">
-                                       <h2><xsl:value-of 
select="component_array/xml_short_desc"/></h2>
-                               </xsl:when>
-                               <xsl:otherwise>
-                                       <xsl:choose>
-                                               <xsl:when test="location_level 
= 1">
-                                                       <h2>Eiendom: 
<xsl:value-of select="location_array/loc1_name"/></h2>
-                                               </xsl:when>
-                                               <xsl:otherwise>
-                                                               <h2>Bygg: 
<xsl:value-of select="location_array/loc2_name"/></h2>
-                                               </xsl:otherwise>
-                                       </xsl:choose>
-                               </xsl:otherwise>
-                       </xsl:choose>
-               </div>
-               <div class="box-2 select-box">
-      <xsl:call-template name="nav_control_plan" />
-               </div>
-               
-               <!-- ==================  CHECKLIST TAB MENU  
===================== -->
-               <xsl:call-template name="check_list_menu">
-                       <xsl:with-param 
name="active_tab">view_cases</xsl:with-param>
-               </xsl:call-template>
-       </div>
+               <xsl:call-template name="check_list_top_section" />
        
                <a id="view_open_cases">
                        <xsl:attribute name="href">

Modified: trunk/controller/templates/base/check_list/view_control_info.xsl
===================================================================
--- trunk/controller/templates/base/check_list/view_control_info.xsl    
2013-02-15 18:24:41 UTC (rev 10860)
+++ trunk/controller/templates/base/check_list/view_control_info.xsl    
2013-02-16 07:56:48 UTC (rev 10861)
@@ -67,34 +67,7 @@
                                
        </script>
                
-       <div id="check-list-heading">
-               <div class="box-1">
-                       <h1>Kontroll: <xsl:value-of 
select="control/title"/></h1>
-                       <xsl:choose>
-                               <xsl:when test="type = 'component'">
-                                       <h2><xsl:value-of 
select="component_array/xml_short_desc"/></h2>
-                               </xsl:when>
-                               <xsl:otherwise>
-                                       <xsl:choose>
-                                               <xsl:when test="location_level 
= 1">
-                                                       <h2>Eiendom: 
<xsl:value-of select="location_array/loc1_name"/></h2>
-                                               </xsl:when>
-                                               <xsl:otherwise>
-                                                               <h2>Bygg: 
<xsl:value-of select="location_array/loc2_name"/></h2>
-                                               </xsl:otherwise>
-                                       </xsl:choose>
-                               </xsl:otherwise>
-                       </xsl:choose>
-               </div>
-               <div class="box-2 select-box">
-      <xsl:call-template name="nav_control_plan" />
-               </div>
-               
-               <!-- ==================  CHECKLIST TAB MENU  
===================== -->
-               <xsl:call-template name="check_list_menu">
-                       <xsl:with-param 
name="active_tab">view_control_info</xsl:with-param>
-               </xsl:call-template>
-       </div>
+       <xsl:call-template name="check_list_top_section" />
                                
        <div class="tab_menu">
                <a id="view_control_details" class="active">




reply via email to

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