[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: property/templates/default workorder.xsl,1.2,1.3
From: |
Sigurd Nes <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: property/templates/default workorder.xsl,1.2,1.3 |
Date: |
Fri, 14 Mar 2003 09:34:12 -0500 |
Update of /cvsroot/phpgroupware/property/templates/default
In directory subversions:/tmp/cvs-serv2076/templates/default
Modified Files:
workorder.xsl
Log Message:
no message
Index: workorder.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/workorder.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** workorder.xsl 13 Mar 2003 09:55:09 -0000 1.2
--- workorder.xsl 14 Mar 2003 14:33:30 -0000 1.3
***************
*** 335,358 ****
</td>
</tr>
<tr>
! <td>
! <xsl:value-of
select="lang_coordinator"/>
</td>
- <td>
- <xsl:call-template
name="user_id_select"/>
- </td>
- </tr>
<xsl:choose>
! <xsl:when
test="sum_workorder_budget!=''">
! <tr class="th">
! <td class="th_text"
width="5%" align="right">
! <xsl:value-of
select="lang_workorder_id"/>
! </td>
! <td class="th_text"
width="5%" align="right">
! <xsl:value-of
select="lang_budget"/>
! </td>
! </tr>
! <xsl:apply-templates
select="workorder_budget"/>
!
<tr class="th">
<td class="th_text"
width="5%" align="right">
--- 335,354 ----
</td>
</tr>
+
<tr>
! <td class="th_text" valign="top">
! <xsl:value-of
select="lang_workorder_id"/>
</td>
<xsl:choose>
! <xsl:when
test="sum_workorder_budget=''">
! <td class="th_text">
! <xsl:value-of
select="lang_no_workorders"/>
! </td>
! </xsl:when>
! <xsl:otherwise>
! <td>
! <table width="100%" cellpadding="2"
cellspacing="2" align="center">
! <xsl:apply-templates
select="table_header_workorder_budget"/>
! <xsl:apply-templates
select="workorder_budget"/>
<tr class="th">
<td class="th_text"
width="5%" align="right">
***************
*** 363,368 ****
</td>
</tr>
! </xsl:when>
</xsl:choose>
<tr>
<td>
--- 359,376 ----
</td>
</tr>
! </table>
! </td>
! </xsl:otherwise>
</xsl:choose>
+ </tr>
+
+ <tr>
+ <td>
+ <xsl:value-of
select="lang_coordinator"/>
+ </td>
+ <td>
+ <xsl:call-template
name="user_id_select"/>
+ </td>
+ </tr>
<tr>
<td>
***************
*** 548,553 ****
</tr>
</table>
</div>
!
</xsl:template>
--- 556,577 ----
</tr>
</table>
+ <hr noshade="noshade" width="100%" align="center" size="1"/>
+ <table width="80%" cellpadding="2" cellspacing="2"
align="center">
+ <xsl:choose>
+ <xsl:when test="record_history=''">
+ <tr>
+ <td class="th_text"
align="center">
+ <xsl:value-of
select="lang_no_history"/>
+ </td>
+ </tr>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates
select="table_header_history"/>
+ <xsl:apply-templates
select="record_history"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </table>
</div>
! <hr noshade="noshade" width="100%" align="center" size="1"/>
</xsl:template>
***************
*** 627,630 ****
--- 651,711 ----
+ <xsl:template match="table_header_history">
+ <tr class="th">
+ <td class="th_text" width="20%" align="left">
+ <xsl:value-of select="lang_date"/>
+ </td>
+ <td class="th_text" width="10%" align="left">
+ <xsl:value-of select="lang_user"/>
+ </td>
+ <td class="th_text" width="30%" align="left">
+ <xsl:value-of select="lang_action"/>
+ </td>
+ <td class="th_text" width="10%" align="left">
+ <xsl:value-of select="lang_new_value"/>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template match="record_history">
+ <tr>
+ <xsl:attribute name="class">
+ <xsl:choose>
+ <xsl:when test="@class">
+ <xsl:value-of
select="@class"/>
+ </xsl:when>
+ <xsl:when test="position() mod
2 = 0">
+
<xsl:text>row_off</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+
<xsl:text>row_on</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
+ <td align="left">
+ <xsl:value-of select="value_date"/>
+ </td>
+ <td align="left">
+ <xsl:value-of select="value_user"/>
+ </td>
+ <td align="left">
+ <xsl:value-of select="value_action"/>
+ </td>
+ <td align="left">
+ <xsl:value-of select="value_new_value"/>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template match="table_header_workorder_budget">
+ <tr class="th">
+ <td class="th_text" width="4%" align="right">
+ <xsl:value-of
select="lang_workorder_id"/>
+ </td>
+ <td class="th_text" width="10%" align="right">
+ <xsl:value-of select="lang_sum"/>
+ </td>
+ </tr>
+ </xsl:template>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: property/templates/default workorder.xsl,1.2,1.3,
Sigurd Nes <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: property/setup tables_current.inc.php,1.45,1.46
- Next by Date:
[Phpgroupware-cvs] CVS: property/inc class.boworkorder.inc.php,1.3,1.4 class.sotts.inc.php,1.8,1.9 class.soworkorder.inc.php,1.4,1.5 class.uiworkorder.inc.php,1.3,1.4
- Previous by thread:
[Phpgroupware-cvs] CVS: property/setup tables_current.inc.php,1.45,1.46
- Next by thread:
[Phpgroupware-cvs] CVS: property/inc class.boworkorder.inc.php,1.3,1.4 class.sotts.inc.php,1.8,1.9 class.soworkorder.inc.php,1.4,1.5 class.uiworkorder.inc.php,1.3,1.4
- Index(es):