Commit d45ae870 authored by Jérome Perrin's avatar Jérome Perrin

include external editor links


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38141 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 74571f85
<dtml-var manage_page_header> <dtml-var manage_page_header>
<dtml-var manage_tabs> <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>"> <form method="POST" action="<dtml-var absolute_url>">
<input type="hidden" name=":default_method" value="changeConstraintEditingPreferences"> <input type="hidden" name=":default_method" value="changeConstraintEditingPreferences">
<table width="100%" cellspacing="0" cellpadding="2" border="0"> <table width="100%" cellspacing="0" cellpadding="2" border="0">
......
<dtml-var manage_page_header> <dtml-var manage_page_header>
<dtml-var manage_tabs> <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>"> <form method="POST" action="<dtml-var absolute_url>">
<input type="hidden" name=":default_method" value="changeDocumentEditingPreferences"> <input type="hidden" name=":default_method" value="changeDocumentEditingPreferences">
<table width="100%" cellspacing="0" cellpadding="2" border="0"> <table width="100%" cellspacing="0" cellpadding="2" border="0">
......
<dtml-var manage_page_header> <dtml-var manage_page_header>
<dtml-var manage_tabs> <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>"> <form method="POST" action="<dtml-var absolute_url>">
<input type="hidden" name=":default_method" value="changeExtensionEditingPreferences"> <input type="hidden" name=":default_method" value="changeExtensionEditingPreferences">
<table width="100%" cellspacing="0" cellpadding="2" border="0"> <table width="100%" cellspacing="0" cellpadding="2" border="0">
......
<dtml-var manage_page_header> <dtml-var manage_page_header>
<dtml-var manage_tabs> <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>"> <form method="POST" action="<dtml-var absolute_url>">
<input type="hidden" name=":default_method" value="changePropertySheetEditingPreferences"> <input type="hidden" name=":default_method" value="changePropertySheetEditingPreferences">
<table width="100%" cellspacing="0" cellpadding="2" border="0"> <table width="100%" cellspacing="0" cellpadding="2" border="0">
......
<dtml-var manage_page_header> <dtml-var manage_page_header>
<dtml-var manage_tabs> <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>"> <form method="POST" action="<dtml-var absolute_url>">
<input type="hidden" name=":default_method" value="changeTestEditingPreferences"> <input type="hidden" name=":default_method" value="changeTestEditingPreferences">
<table width="100%" cellspacing="0" cellpadding="2" border="0"> <table width="100%" cellspacing="0" cellpadding="2" border="0">
......
...@@ -18,7 +18,11 @@ ...@@ -18,7 +18,11 @@
<tr class="row-hilite"> <tr class="row-hilite">
</dtml-if> </dtml-if>
<td> <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>
<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> <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>
......
...@@ -19,7 +19,11 @@ ...@@ -19,7 +19,11 @@
<tr class="row-hilite"> <tr class="row-hilite">
</dtml-if> </dtml-if>
<td> <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>
<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> <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>
......
...@@ -19,7 +19,11 @@ ...@@ -19,7 +19,11 @@
<tr class="row-hilite"> <tr class="row-hilite">
</dtml-if> </dtml-if>
<td> <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>
<td> <td>
<div class="list-item"><a href="manage_editExtensionForm?class_id=<dtml-var sequence-item>">edit</a>&nbsp; <div class="list-item"><a href="manage_editExtensionForm?class_id=<dtml-var sequence-item>">edit</a>&nbsp;
......
...@@ -19,7 +19,11 @@ ...@@ -19,7 +19,11 @@
<tr class="row-hilite"> <tr class="row-hilite">
</dtml-if> </dtml-if>
<td> <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>
<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> <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>
......
...@@ -15,7 +15,11 @@ ...@@ -15,7 +15,11 @@
<dtml-in getLocalTestList> <dtml-in getLocalTestList>
<tr> <tr>
<td> <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>
<td> <td>
<div class="list-item"><a href="manage_editTestForm?class_id=<dtml-var sequence-item>">edit</a>&nbsp; <div class="list-item"><a href="manage_editTestForm?class_id=<dtml-var sequence-item>">edit</a>&nbsp;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment