svn commit: r534186 - /ofbiz/trunk/applications/party/webapp/partymgr/party/SubscriptionSummary.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r534186 - /ofbiz/trunk/applications/party/webapp/partymgr/party/SubscriptionSummary.ftl

jaz-3
Author: jaz
Date: Tue May  1 11:31:35 2007
New Revision: 534186

URL: http://svn.apache.org/viewvc?view=rev&rev=534186
Log:
added missing file

Added:
    ofbiz/trunk/applications/party/webapp/partymgr/party/SubscriptionSummary.ftl   (with props)

Added: ofbiz/trunk/applications/party/webapp/partymgr/party/SubscriptionSummary.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/party/SubscriptionSummary.ftl?view=auto&rev=534186
==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/party/SubscriptionSummary.ftl (added)
+++ ofbiz/trunk/applications/party/webapp/partymgr/party/SubscriptionSummary.ftl Tue May  1 11:31:35 2007
@@ -0,0 +1,60 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<div id="subscription-summary" class="screenlet">
+    <div class="screenlet-header">
+        <span class="boxhead">${uiLabelMap.ProductSubscriptions}</span>
+    </div>
+    <div class="screenlet-body">
+        <table class="basic-table" cellspacing="0" cellpadding="2">
+            <thead>
+                <tr class="header-row">
+                    <td>${uiLabelMap.ProductSubscription} ${uiLabelMap.CommonId}</td>
+                    <td>${uiLabelMap.ProductSubscription} ${uiLabelMap.CommonType}</td>
+                    <td>${uiLabelMap.CommonDescription}</td>
+                    <td>${uiLabelMap.ProductProductName}</td>
+                    <td>${uiLabelMap.CommonFromDate}</td>
+                    <td>${uiLabelMap.CommonThruDate}</td>
+                </tr>
+            </thead>
+            <tbody>
+                <#list subscriptionList as subscription>
+                    <tr>
+                        <td>${subscription.subscriptionId}</td>
+                        <td>
+                            <#assign subscriptionType = subscription.getRelatedOne('SubscriptionType')?if_exists>
+                            ${(subscriptionType.description)?default(subscription.subscriptionTypeId?default('N/A'))}
+                        </td>
+                        <td>${subscription.description?if_exists}</td>
+                        <td>
+                            <#assign product = subscription.getRelatedOne('Product')?if_exists>                            
+                            <#if product?has_content>
+                                <#assign productName = Static['org.ofbiz.product.product.ProductContentWrapper'].getProductContentAsText(product, 'PRODUCT_NAME', request)?if_exists>
+                                <a href="/catalog/control/EditProduct?productId=${product.productId}&externalLoginKey=${requestAttributes.externalLoginKey?if_exists}">${productName?default(product.productId)}</a>
+                            </#if>
+                        </td>
+                        <td>${subscription.fromDate?if_exists}</td>
+                        <td>${subscription.thruDate?if_exists}</td>
+                    </tr>
+                </#list>
+            </tbody>
+        </table>
+    </div>
+</div>
+

Propchange: ofbiz/trunk/applications/party/webapp/partymgr/party/SubscriptionSummary.ftl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/applications/party/webapp/partymgr/party/SubscriptionSummary.ftl
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/trunk/applications/party/webapp/partymgr/party/SubscriptionSummary.ftl
------------------------------------------------------------------------------
    svn:mime-type = text/plain