[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [13451]
From: |
Nelson Guerra |
Subject: |
[Fmsystem-commits] [13451] |
Date: |
Wed, 17 Jun 2015 22:29:05 +0000 |
Revision: 13451
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13451
Author: nelson224
Date: 2015-06-17 22:29:04 +0000 (Wed, 17 Jun 2015)
Log Message:
-----------
Modified Paths:
--------------
branches/dev-syncromind/rental/templates/base/party.xsl
Modified: branches/dev-syncromind/rental/templates/base/party.xsl
===================================================================
--- branches/dev-syncromind/rental/templates/base/party.xsl 2015-06-17
22:28:38 UTC (rev 13450)
+++ branches/dev-syncromind/rental/templates/base/party.xsl 2015-06-17
22:29:04 UTC (rev 13451)
@@ -1,21 +1,4 @@
<!-- $Id: party.xsl 12604 2015-01-15 17:06:11Z nelson224 $ -->
-<func:function name="phpgw:conditional">
- <xsl:param name="test"/>
- <xsl:param name="true"/>
- <xsl:param name="false"/>
-
- <func:result>
- <xsl:choose>
- <xsl:when test="$test">
- <xsl:value-of select="$true"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$false"/>
- </xsl:otherwise>
- </xsl:choose>
- </func:result>
-</func:function>
-
<xsl:template match="data">
<xsl:apply-templates select="edit" />
<xsl:call-template name="jquery_phpgw_i18n"/>
@@ -45,21 +28,166 @@
<xsl:value-of disable-output-escaping="yes"
select="tabs"/>
<div id="details">
<fieldset>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="lang_identifier"/>
+ </label>
+ <input type="text"
name="identifier" value="{value_identifier}"></input>
+ <input type="hidden"
name="id" value="{party_id}"/>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="lang_firstname"/>
+ </label>
+ <input type="text"
name="firstname" value="{value_firstname}"></input>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="lang_lastname"/>
+ </label>
+ <input type="text"
name="lastname" value="{value_lastname}"></input>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="lang_job_title"/>
+ </label>
+ <input type="text"
name="title" value="{value_job_title}"></input>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="lang_company"/>
+ </label>
+ <input type="text"
name="company_name" value="{value_company}"></input>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="lang_department"/>
+ </label>
+ <input type="text"
name="department" value="{value_department}"></input>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="lang_address"/>
+ </label>
+ <input type="text"
name="address1" value="{value_address1}"></input>
+ <input type="text"
name="address2" value="{value_address2}"></input>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="lang_postal_code_place"/>
+ </label>
+ <input type="text"
name="postal_code" value="{value_postal_code}"></input>
+ <input type="text"
name="place" value="{value_place}"></input>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="lang_inactive_party"/>
+ </label>
+ <input type="checkbox"
name="is_inactive" id="is_inactive">
+ <xsl:if
test="value_inactive_party != ''">
+
<xsl:attribute name="checked" value="checked"/>
+ </xsl:if>
+ </input>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="lang_account_number"/>
+ </label>
+ <input type="text"
name="account_number" value="{value_account_number}"></input>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="lang_phone"/>
+ </label>
+ <input type="text"
name="phone" value="{value_phone}"></input>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="lang_mobile_phone"/>
+ </label>
+ <input type="text"
name="mobile_phone" value="{value_mobile_phone}"></input>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="lang_fax"/>
+ </label>
+ <input type="text"
name="fax" value="{value_fax}"></input>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="lang_email"/>
+ </label>
+ <input type="text"
name="email" value="{value_email}"></input>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="lang_url"/>
+ </label>
+ <input type="text"
name="url" value="{value_url}"></input>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="lang_unit_leader"/>
+ </label>
+ <input type="text"
name="unit_leader" value="{value_unit_leader}"></input>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="lang_comment"/>
+ </label>
+ <textarea cols="47"
rows="7" name="comment"><xsl:value-of select="value_comment"/></textarea>
+ </div>
</fieldset>
</div>
+ <xsl:choose>
+ <xsl:when test="party_id > 0">
+ <div id="contracts">
+ <div
class="pure-control-group">
+ <xsl:for-each
select="datatable_def">
+ <xsl:if
test="container = 'datatable-container_0'">
+
<xsl:call-template name="table_setup">
+
<xsl:with-param name="container" select ='container'/>
+
<xsl:with-param name="requestUrl" select ='requestUrl' />
+
<xsl:with-param name="ColumnDefs" select ='ColumnDefs' />
+
<xsl:with-param name="tabletools" select ='tabletools' />
+
<xsl:with-param name="data" select ='data' />
+
<xsl:with-param name="config" select ='config' />
+
</xsl:call-template>
+
</xsl:if>
+ </xsl:for-each>
+ </div>
+ </div>
+ <div id="documents">
+ <div
class="pure-control-group">
+ <xsl:for-each
select="datatable_def">
+ <xsl:if
test="container = 'datatable-container_1'">
+
<xsl:call-template name="table_setup">
+
<xsl:with-param name="container" select ='container'/>
+
<xsl:with-param name="requestUrl" select ='requestUrl' />
+
<xsl:with-param name="ColumnDefs" select ='ColumnDefs' />
+
<xsl:with-param name="tabletools" select ='tabletools' />
+
<xsl:with-param name="data" select ='data' />
+
<xsl:with-param name="config" select ='config' />
+
</xsl:call-template>
+
</xsl:if>
+ </xsl:for-each>
+ </div>
+ </div>
+ </xsl:when>
+ </xsl:choose>
</div>
<div class="proplist-col">
- <input type="submit" class="pure-button
pure-button-primary" name="values[save]" value="{lang_save}"
onMouseout="window.status='';return true;">
+ <input type="submit" class="pure-button
pure-button-primary" name="save_party" value="{lang_save}"
onMouseout="window.status='';return true;">
<xsl:attribute name="title">
<xsl:value-of
select="php:function('lang', 'Save the record and return to the list')"/>
</xsl:attribute>
</input>
- <input type="submit" class="pure-button
pure-button-primary" name="values[apply]" value="{lang_sync_data}"
onMouseout="window.status='';return true;">
+ <input type="submit" class="pure-button
pure-button-primary" name="synchronize" value="{lang_sync_data}"
onMouseout="window.status='';return true;">
<xsl:attribute name="title">
<xsl:value-of
select="php:function('lang', 'Apply the values')"/>
</xsl:attribute>
</input>
- <input type="button" class="pure-button
pure-button-primary" name="values[cancel]" value="{lang_cancel}"
onMouseout="window.status='';return true;"
onClick="document.cancel_form.submit();">
+ <input type="button" class="pure-button
pure-button-primary" name="party_back" value="{lang_cancel}"
onMouseout="window.status='';return true;"
onClick="document.cancel_form.submit();">
<xsl:attribute name="title">
<xsl:value-of
select="php:function('lang', 'Leave the record untouched and return to the
list')"/>
</xsl:attribute>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [13451],
Nelson Guerra <=