[Erp5-report] r38141 jerome - /erp5/trunk/products/ERP5Type/dtml/

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Sep 3 15:15:43 CEST 2010


Author: jerome
Date: Fri Sep  3 15:15:30 2010
New Revision: 38141

URL: http://svn.erp5.org?rev=38141&view=rev
Log:
include external editor links

Modified:
    erp5/trunk/products/ERP5Type/dtml/editConstraintForm.dtml
    erp5/trunk/products/ERP5Type/dtml/editDocumentForm.dtml
    erp5/trunk/products/ERP5Type/dtml/editExtensionForm.dtml
    erp5/trunk/products/ERP5Type/dtml/editPropertySheetForm.dtml
    erp5/trunk/products/ERP5Type/dtml/editTestForm.dtml
    erp5/trunk/products/ERP5Type/dtml/viewConstraintList.dtml
    erp5/trunk/products/ERP5Type/dtml/viewDocumentList.dtml
    erp5/trunk/products/ERP5Type/dtml/viewExtensionList.dtml
    erp5/trunk/products/ERP5Type/dtml/viewPropertySheetList.dtml
    erp5/trunk/products/ERP5Type/dtml/viewTestList.dtml

Modified: erp5/trunk/products/ERP5Type/dtml/editConstraintForm.dtml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/dtml/editConstraintForm.dtml?rev=38141&r1=38140&r2=38141&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/dtml/editConstraintForm.dtml [utf8] (original)
+++ erp5/trunk/products/ERP5Type/dtml/editConstraintForm.dtml [utf8] Fri Sep  3 15:15:30 2010
@@ -1,7 +1,10 @@
 <dtml-var manage_page_header>
 <dtml-var manage_tabs>
 
-<h2>Edit Constraint Class: <dtml-var class_id></h2>
+<h2>Edit Constraint Class: <dtml-var class_id>
+  <dtml-if expr="hasattr(this(), 'externalEditLink_')">
+    <dtml-var expr="externalEditLink_(this()['Constraint'][class_id])">
+  </dtml-if></h2>
 <form method="POST" action="<dtml-var absolute_url>">
 <input type="hidden" name=":default_method" value="changeConstraintEditingPreferences">
 <table width="100%" cellspacing="0" cellpadding="2" border="0">

Modified: erp5/trunk/products/ERP5Type/dtml/editDocumentForm.dtml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/dtml/editDocumentForm.dtml?rev=38141&r1=38140&r2=38141&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/dtml/editDocumentForm.dtml [utf8] (original)
+++ erp5/trunk/products/ERP5Type/dtml/editDocumentForm.dtml [utf8] Fri Sep  3 15:15:30 2010
@@ -1,7 +1,10 @@
 <dtml-var manage_page_header>
 <dtml-var manage_tabs>
 
-<h2>Edit Document Class: <dtml-var class_id></h2>
+<h2>Edit Document Class: <dtml-var class_id>
+  <dtml-if expr="hasattr(this(), 'externalEditLink_')">
+    <dtml-var expr="externalEditLink_(this()['Document'][class_id])">
+  </dtml-if></h2>
 <form method="POST" action="<dtml-var absolute_url>">
 <input type="hidden" name=":default_method" value="changeDocumentEditingPreferences">
 <table width="100%" cellspacing="0" cellpadding="2" border="0">

Modified: erp5/trunk/products/ERP5Type/dtml/editExtensionForm.dtml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/dtml/editExtensionForm.dtml?rev=38141&r1=38140&r2=38141&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/dtml/editExtensionForm.dtml [utf8] (original)
+++ erp5/trunk/products/ERP5Type/dtml/editExtensionForm.dtml [utf8] Fri Sep  3 15:15:30 2010
@@ -1,7 +1,10 @@
 <dtml-var manage_page_header>
 <dtml-var manage_tabs>
 
-<h2>Edit Extension Class: <dtml-var class_id></h2>
+<h2>Edit Extension Class: <dtml-var class_id>
+  <dtml-if expr="hasattr(this(), 'externalEditLink_')">
+    <dtml-var expr="externalEditLink_(this()['Extensions'][class_id])">
+  </dtml-if></h2>
 <form method="POST" action="<dtml-var absolute_url>">
 <input type="hidden" name=":default_method" value="changeExtensionEditingPreferences">
 <table width="100%" cellspacing="0" cellpadding="2" border="0">

Modified: erp5/trunk/products/ERP5Type/dtml/editPropertySheetForm.dtml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/dtml/editPropertySheetForm.dtml?rev=38141&r1=38140&r2=38141&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/dtml/editPropertySheetForm.dtml [utf8] (original)
+++ erp5/trunk/products/ERP5Type/dtml/editPropertySheetForm.dtml [utf8] Fri Sep  3 15:15:30 2010
@@ -1,7 +1,10 @@
 <dtml-var manage_page_header>
 <dtml-var manage_tabs>
 
-<h2>Edit Property Sheet Class: <dtml-var class_id></h2>
+<h2>Edit Property Sheet Class: <dtml-var class_id>
+  <dtml-if expr="hasattr(this(), 'externalEditLink_')">
+    <dtml-var expr="externalEditLink_(this()['PropertySheet'][class_id])">
+  </dtml-if></h2>
 <form method="POST" action="<dtml-var absolute_url>">
 <input type="hidden" name=":default_method" value="changePropertySheetEditingPreferences">
 <table width="100%" cellspacing="0" cellpadding="2" border="0">

Modified: erp5/trunk/products/ERP5Type/dtml/editTestForm.dtml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/dtml/editTestForm.dtml?rev=38141&r1=38140&r2=38141&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/dtml/editTestForm.dtml [utf8] (original)
+++ erp5/trunk/products/ERP5Type/dtml/editTestForm.dtml [utf8] Fri Sep  3 15:15:30 2010
@@ -1,7 +1,10 @@
 <dtml-var manage_page_header>
 <dtml-var manage_tabs>
 
-<h2>Edit Test Class: <dtml-var class_id></h2>
+<h2>Edit Test Class: <dtml-var class_id>
+  <dtml-if expr="hasattr(this(), 'externalEditLink_')">
+    <dtml-var expr="externalEditLink_(this()['tests'][class_id])">
+  </dtml-if></h2>
 <form method="POST" action="<dtml-var absolute_url>">
 <input type="hidden" name=":default_method" value="changeTestEditingPreferences">
 <table width="100%" cellspacing="0" cellpadding="2" border="0">

Modified: erp5/trunk/products/ERP5Type/dtml/viewConstraintList.dtml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/dtml/viewConstraintList.dtml?rev=38141&r1=38140&r2=38141&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/dtml/viewConstraintList.dtml [utf8] (original)
+++ erp5/trunk/products/ERP5Type/dtml/viewConstraintList.dtml [utf8] Fri Sep  3 15:15:30 2010
@@ -18,7 +18,11 @@
   <tr class="row-hilite">
   </dtml-if>
     <td>
-      <div class="list-item"><dtml-var sequence-item></div>
+      <div class="list-item"><dtml-var sequence-item>
+        <dtml-if expr="hasattr(this(), 'externalEditLink_')">
+          <dtml-var expr="externalEditLink_(this()['Constraint'][_['sequence-item']])">
+        </dtml-if>
+      </div>
     </td>   
     <td>
       <div class="list-item"><a href="manage_editConstraintForm?class_id=<dtml-var sequence-item>">edit</a>&nbsp;<a href="importConstraint?class_id=<dtml-var sequence-item>">reload</a>

Modified: erp5/trunk/products/ERP5Type/dtml/viewDocumentList.dtml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/dtml/viewDocumentList.dtml?rev=38141&r1=38140&r2=38141&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/dtml/viewDocumentList.dtml [utf8] (original)
+++ erp5/trunk/products/ERP5Type/dtml/viewDocumentList.dtml [utf8] Fri Sep  3 15:15:30 2010
@@ -19,7 +19,11 @@
   <tr class="row-hilite">
   </dtml-if>
     <td>
-      <div class="list-item"><dtml-var sequence-item></div>
+      <div class="list-item"><dtml-var sequence-item>
+        <dtml-if expr="hasattr(this(), 'externalEditLink_')">
+          <dtml-var expr="externalEditLink_(this()['Document'][_['sequence-item']])">
+        </dtml-if>
+      </div>
     </td>   
     <td>
       <div class="list-item"><a href="manage_editDocumentForm?class_id=<dtml-var sequence-item>">edit</a>&nbsp;<a href="importDocument?class_id=<dtml-var sequence-item>">reload</a>

Modified: erp5/trunk/products/ERP5Type/dtml/viewExtensionList.dtml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/dtml/viewExtensionList.dtml?rev=38141&r1=38140&r2=38141&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/dtml/viewExtensionList.dtml [utf8] (original)
+++ erp5/trunk/products/ERP5Type/dtml/viewExtensionList.dtml [utf8] Fri Sep  3 15:15:30 2010
@@ -19,7 +19,11 @@
   <tr class="row-hilite">
   </dtml-if>
     <td>
-      <div class="list-item"><dtml-var sequence-item></div>
+      <div class="list-item"><dtml-var sequence-item>
+        <dtml-if expr="hasattr(this(), 'externalEditLink_')">
+          <dtml-var expr="externalEditLink_(this()['Extensions'][_['sequence-item']])">
+        </dtml-if>
+      </div>
     </td>   
     <td>
       <div class="list-item"><a href="manage_editExtensionForm?class_id=<dtml-var sequence-item>">edit</a>&nbsp;

Modified: erp5/trunk/products/ERP5Type/dtml/viewPropertySheetList.dtml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/dtml/viewPropertySheetList.dtml?rev=38141&r1=38140&r2=38141&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/dtml/viewPropertySheetList.dtml [utf8] (original)
+++ erp5/trunk/products/ERP5Type/dtml/viewPropertySheetList.dtml [utf8] Fri Sep  3 15:15:30 2010
@@ -19,7 +19,11 @@
   <tr class="row-hilite">
   </dtml-if>
     <td>
-      <div class="list-item"><dtml-var sequence-item></div>
+      <div class="list-item"><dtml-var sequence-item>
+        <dtml-if expr="hasattr(this(), 'externalEditLink_')">
+          <dtml-var expr="externalEditLink_(this()['PropertySheet'][_['sequence-item']])">
+        </dtml-if>
+      </div>
     </td>   
     <td>
       <div class="list-item"><a href="manage_editPropertySheetForm?class_id=<dtml-var sequence-item>">edit</a>&nbsp;<a href="importPropertySheet?class_id=<dtml-var sequence-item>">reload</a>

Modified: erp5/trunk/products/ERP5Type/dtml/viewTestList.dtml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/dtml/viewTestList.dtml?rev=38141&r1=38140&r2=38141&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/dtml/viewTestList.dtml [utf8] (original)
+++ erp5/trunk/products/ERP5Type/dtml/viewTestList.dtml [utf8] Fri Sep  3 15:15:30 2010
@@ -15,7 +15,11 @@
   <dtml-in getLocalTestList>
   <tr>
     <td>
-      <div class="list-item"><dtml-var sequence-item></div>
+      <div class="list-item"><dtml-var sequence-item>
+        <dtml-if expr="hasattr(this(), 'externalEditLink_')">
+          <dtml-var expr="externalEditLink_(this()['tests'][_['sequence-item']])">
+        </dtml-if>
+      </div>
     </td>   
     <td>
       <div class="list-item"><a href="manage_editTestForm?class_id=<dtml-var sequence-item>">edit</a>&nbsp;




More information about the Erp5-report mailing list