More Asset Maintenance UI cleanups. No functional changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@573121 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -25,7 +25,7 @@ it=Italian
|
||||
# Override Page and Label title
|
||||
|
||||
AssetMaintApplication=Asset Maintenance Application
|
||||
AssetMaintCompanyName=Ofbiz Company
|
||||
AssetMaintCompanyName=Ofbiz
|
||||
AssetMaintCompanySubtitle=Maintenance Department
|
||||
|
||||
PageTitleFindFixedAssets=Find Equipments
|
||||
@@ -54,6 +54,7 @@ AccountingFixedAssetId=Equipment Id
|
||||
AccountingFixedAssetName=Description
|
||||
AccountingFixedAssetIdent=Identification
|
||||
AccountingFixedAssetIdents=Identifications
|
||||
AccountingNewFixedAsset=New Equipment
|
||||
AccountingNewFixedAssetIdent=Create Identification
|
||||
AccountingFixedAssetIdentTypeId=Equipment Identification Type Id
|
||||
AccountingFixedAssetIdentIdValue=Value
|
||||
|
||||
@@ -25,10 +25,12 @@
|
||||
<section>
|
||||
<actions>
|
||||
<set field="titleProperty" value="PageTitleFindFixedAssetMaints"/>
|
||||
<set field="labelTitleProperty" value="AccountingFixedAssetMaint"/>
|
||||
</actions>
|
||||
<widgets>
|
||||
<decorator-screen name="CommonFixedAssetMaintDecorator" location="${parameters.mainDecoratorLocation}">
|
||||
<decorator-section name="body">
|
||||
<container style="button-bar"><link target="EditFixedAssetMaint" text="${uiLabelMap.AccountingNewFixedAssetMaint}" style="buttontext"/></container>
|
||||
<container style="screenlet">
|
||||
<container style="screenlet-header">
|
||||
<label style="boxhead">${uiLabelMap.PageTitleFindFixedAssetMaints}</label>
|
||||
@@ -37,7 +39,6 @@
|
||||
<include-form name="FindFixedAssetMaint" location="component://assetmaint/widget/forms/FixedAssetForms.xml" />
|
||||
</container>
|
||||
</container>
|
||||
<container style="button-bar"><link target="EditFixedAssetMaint" text="${uiLabelMap.AccountingNewFixedAssetMaint}" style="buttontext"/></container>
|
||||
<include-form name="ListFixedAssetMaints" location="component://assetmaint/widget/forms/FixedAssetForms.xml" />
|
||||
</decorator-section>
|
||||
</decorator-screen>
|
||||
@@ -48,7 +49,8 @@
|
||||
<screen name="EditFixedAssetMaint">
|
||||
<section>
|
||||
<actions>
|
||||
<set field="titleProperty" value="Edit WorkOrder"/>
|
||||
<set field="titleProperty" value="AccountingFixedAssetMaint"/>
|
||||
<set field="labelTitleProperty" value="AccountingFixedAssetMaint"/>
|
||||
<set field="tabButtonItemFixedAssetMaint" value="EditFixedAssetMaint"/>
|
||||
<set field="fixedAssetId" from-field="parameters.fixedAssetId"/>
|
||||
<set field="maintHistSeqId" from-field="parameters.maintHistSeqId"/>
|
||||
@@ -67,18 +69,34 @@
|
||||
<widgets>
|
||||
<decorator-screen name="CommonFixedAssetMaintDecorator" location="${parameters.mainDecoratorLocation}">
|
||||
<decorator-section name="body">
|
||||
<container style="button-bar">
|
||||
<link target="EditFixedAssetMaint?fixedAssetId=${fixedAssetId}" text="${uiLabelMap.AccountingNewFixedAssetMaint}" style="buttontext"/>
|
||||
<link target="printFixedAssetMaint.pdf?fixedAssetId=${fixedAssetId}&maintHistSeqId=${maintHistSeqId}" text="${uiLabelMap.CommonPrint}" style="buttontext"/>
|
||||
</container>
|
||||
<container style="screenlet">
|
||||
<container style="screenlet-header">
|
||||
<label style="boxhead">${uiLabelMap.AccountingNewFixedAssetMaint}</label>
|
||||
</container>
|
||||
<container style="screenlet-body">
|
||||
<include-form name="EditFixedAssetMaint" location="component://assetmaint/widget/forms/FixedAssetForms.xml"/>
|
||||
</container>
|
||||
</container>
|
||||
<section>
|
||||
<condition><not><if-empty field-name="maintHistSeqId"/></not></condition>
|
||||
<widgets>
|
||||
<container style="button-bar">
|
||||
<link target="EditFixedAssetMaint?fixedAssetId=${fixedAssetId}" text="${uiLabelMap.AccountingNewFixedAssetMaint}" style="buttontext"/>
|
||||
<link target="printFixedAssetMaint.pdf?fixedAssetId=${fixedAssetId}&maintHistSeqId=${maintHistSeqId}" text="${uiLabelMap.CommonPrint}" style="buttontext"/>
|
||||
</container>
|
||||
<container style="screenlet">
|
||||
<container style="screenlet-header">
|
||||
<label style="boxhead">${uiLabelMap.AccountingNewFixedAssetMaint}</label>
|
||||
</container>
|
||||
<container style="screenlet-body">
|
||||
<include-form name="EditFixedAssetMaint" location="component://assetmaint/widget/forms/FixedAssetForms.xml"/>
|
||||
</container>
|
||||
</container>
|
||||
</widgets>
|
||||
<fail-widgets>
|
||||
<container style="button-bar"><label/></container>
|
||||
<container style="screenlet">
|
||||
<container style="screenlet-header">
|
||||
<label style="boxhead">${uiLabelMap.AccountingNewFixedAssetMaint}</label>
|
||||
</container>
|
||||
<container style="screenlet-body">
|
||||
<include-form name="EditFixedAssetMaint" location="component://assetmaint/widget/forms/FixedAssetForms.xml"/>
|
||||
</container>
|
||||
</container>
|
||||
</fail-widgets>
|
||||
</section>
|
||||
</decorator-section>
|
||||
</decorator-screen>
|
||||
</widgets>
|
||||
|
||||
@@ -98,7 +98,6 @@
|
||||
<label style="head1" text="${uiLabelMap.${labelTitleProperty}} ${uiLabelMap.CommonFor}: ${fixedAsset.fixedAssetName} [${fixedAsset.fixedAssetId}] ${${extraFunctionName}}"/>
|
||||
</widgets>
|
||||
<fail-widgets>
|
||||
<include-menu name="FixedAssetTabBar" location="component://assetmaint/widget/Menus.xml"/>
|
||||
<label style="head1" text="${uiLabelMap.${labelTitleProperty}}"/>
|
||||
</fail-widgets>
|
||||
</section>
|
||||
@@ -129,16 +128,14 @@
|
||||
</condition>
|
||||
<widgets>
|
||||
<section>
|
||||
<condition>
|
||||
<and>
|
||||
<not><if-empty field-name="fixedAssetId"/></not>
|
||||
<not><if-empty field-name="maintHistSeqId"/></not>
|
||||
</and>
|
||||
</condition>
|
||||
<condition><not><if-empty field-name="maintHistSeqId"/></not></condition>
|
||||
<widgets>
|
||||
<include-menu name="FixedAssetMaintTabBar" location="component://assetmaint/widget/Menus.xml"/>
|
||||
<label style="head1" text="${uiLabelMap.${labelTitleProperty}} ${uiLabelMap.CommonFor}: ${fixedAsset.fixedAssetName} [${uiLabelMap.CommonId}:${fixedAssetId}] ${${extraFunctionName}}"/>
|
||||
<label style="head1" text="${uiLabelMap.${labelTitleProperty}} ${uiLabelMap.CommonFor}: ${fixedAsset.fixedAssetName} [${fixedAssetId}] ${${extraFunctionName}}"/>
|
||||
</widgets>
|
||||
<fail-widgets>
|
||||
<label style="head1" text="${uiLabelMap.${labelTitleProperty}}"/>
|
||||
</fail-widgets>
|
||||
</section>
|
||||
</widgets>
|
||||
<fail-widgets>
|
||||
|
||||
@@ -30,6 +30,9 @@
|
||||
<widgets>
|
||||
<decorator-screen name="CommonFixedAssetDecorator" location="${parameters.mainDecoratorLocation}">
|
||||
<decorator-section name="body">
|
||||
<container style="button-bar">
|
||||
<link target="EditFixedAsset" text="${uiLabelMap.AccountingNewFixedAsset}" style="buttontext" />
|
||||
</container>
|
||||
<container style="screenlet">
|
||||
<container style="screenlet-header">
|
||||
<label style="boxhead">${uiLabelMap.AccountingFixedAssets}</label>
|
||||
@@ -38,9 +41,6 @@
|
||||
<include-form name="FindFixedAssets" location="component://assetmaint/widget/forms/FixedAssetForms.xml" />
|
||||
</container>
|
||||
</container>
|
||||
<container style="button-bar">
|
||||
<link target="EditFixedAsset" text="${uiLabelMap.AccountingNewFixedAsset}" style="buttontext" />
|
||||
</container>
|
||||
<include-form name="ListFixedAssets" location="component://assetmaint/widget/forms/FixedAssetForms.xml" />
|
||||
</decorator-section>
|
||||
</decorator-screen>
|
||||
@@ -55,24 +55,39 @@
|
||||
<set field="titleProperty" value="AccountingEditFixedAsset" />
|
||||
<set field="labelTitleProperty" value="AccountingEditFixedAsset" />
|
||||
<set field="tabButtonItem" value="EditFixedAsset" />
|
||||
|
||||
<set field="fixedAssetId" from-field="parameters.fixedAssetId" />
|
||||
<entity-one entity-name="FixedAsset" value-name="fixedAsset" />
|
||||
</actions>
|
||||
<widgets>
|
||||
<decorator-screen name="CommonFixedAssetDecorator" location="${parameters.mainDecoratorLocation}">
|
||||
<decorator-section name="body">
|
||||
<container style="button-bar">
|
||||
<link target="EditFixedAsset" text="${uiLabelMap.AccountingNewFixedAsset}" style="buttontext" />
|
||||
</container>
|
||||
<container style="screenlet">
|
||||
<container style="screenlet-header">
|
||||
<label style="boxhead">${uiLabelMap.AccountingEditFixedAsset}</label>
|
||||
</container>
|
||||
<container style="screenlet-body">
|
||||
<include-form name="EditFixedAsset" location="component://assetmaint/widget/forms/FixedAssetForms.xml" />
|
||||
</container>
|
||||
</container>
|
||||
<section>
|
||||
<condition><not><if-empty field-name="fixedAssetId"/></not></condition>
|
||||
<widgets>
|
||||
<container style="button-bar">
|
||||
<link target="EditFixedAsset" text="${uiLabelMap.AccountingNewFixedAsset}" style="buttontext" />
|
||||
</container>
|
||||
<container style="screenlet">
|
||||
<container style="screenlet-header">
|
||||
<label style="boxhead">${uiLabelMap.AccountingEditFixedAsset}</label>
|
||||
</container>
|
||||
<container style="screenlet-body">
|
||||
<include-form name="EditFixedAsset" location="component://assetmaint/widget/forms/FixedAssetForms.xml" />
|
||||
</container>
|
||||
</container>
|
||||
</widgets>
|
||||
<fail-widgets>
|
||||
<container style="button-bar"><label/></container>
|
||||
<container style="screenlet">
|
||||
<container style="screenlet-header">
|
||||
<label style="boxhead">${uiLabelMap.AccountingNewFixedAsset}</label>
|
||||
</container>
|
||||
<container style="screenlet-body">
|
||||
<include-form name="EditFixedAsset" location="component://assetmaint/widget/forms/FixedAssetForms.xml" />
|
||||
</container>
|
||||
</container>
|
||||
</fail-widgets>
|
||||
</section>
|
||||
<!--platform-specific>
|
||||
<html><html-template location="component://assetmaint/webapp/assetmaint/includes/EquipmentsFocus.ftl"/></html>
|
||||
</platform-specific-->
|
||||
@@ -91,7 +106,6 @@
|
||||
<set field="rootAssetId" from-field="parameters.rootAssetId" default-value="${parameters.fixedAssetId}"/>
|
||||
<set field="fixedAssetId" from-field="rootAssetId"/>
|
||||
<entity-one entity-name="FixedAsset" value-name="fixedAsset"/>
|
||||
<set field="fixedAssetId" from-field="parameters.fixedAssetId" default-value="${parameters.trail}"/>
|
||||
<set field="trail" from-field="parameters.trail" default-value="${parameters.fixedAssetId}"/>
|
||||
</actions>
|
||||
<widgets>
|
||||
@@ -126,8 +140,9 @@
|
||||
<widgets>
|
||||
<decorator-screen name="CommonFixedAssetDecorator" location="${parameters.mainDecoratorLocation}">
|
||||
<decorator-section name="body">
|
||||
<container><link target="EditFixedAssetStdCost?fixedAssetId=${fixedAsset.fixedAssetId}" text="${uiLabelMap.AccountingNewFixedAssetStdCost}" style="buttontext"/></container>
|
||||
<container style="button-bar"><label/></container>
|
||||
<include-form name="ListFixedAssetStdCosts" location="component://accounting/webapp/accounting/fixedasset/FixedAssetForms.xml"/>
|
||||
<container style="button-bar"><label/></container>
|
||||
<include-form name="EditFixedAssetStdCost" location="component://accounting/webapp/accounting/fixedasset/FixedAssetForms.xml"/>
|
||||
</decorator-section>
|
||||
</decorator-screen>
|
||||
|
||||
Reference in New Issue
Block a user