Commit 16a00139 authored by Gabriel Monnerat's avatar Gabriel Monnerat

create macro to remove code duplicated

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44264 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fb6bb158
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
<thead>\n <thead>\n
<tr><td rowspan="1" colspan="3" tal:content="template/getId"/></tr>\n <tr><td rowspan="1" colspan="3" tal:content="template/getId"/></tr>\n
</thead><tbody>\n </thead><tbody>\n
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />\n <tal:block metal:use-macro="here/Zuite_CommonTemplateForUNG/macros/init" />\n
<tr>\n <tr>\n
<td>openAndWait</td>\n <td>openAndWait</td>\n
<td>${base_url}/ERP5Site_cleanUpUNGKnowledgePadList</td>\n <td>${base_url}/ERP5Site_cleanUpUNGKnowledgePadList</td>\n
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>openAndWait</td>\n <td>openAndWait</td>\n
<td>${base_url}/web_site_module/ung/WebSite_logout</td>\n <td>${ung_url}/WebSite_logout</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
......
...@@ -47,10 +47,10 @@ ...@@ -47,10 +47,10 @@
<thead>\n <thead>\n
<tr><td rowspan="1" colspan="3" tal:content="template/getId"/></tr>\n <tr><td rowspan="1" colspan="3" tal:content="template/getId"/></tr>\n
</thead><tbody>\n </thead><tbody>\n
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />\n <tal:block metal:use-macro="here/Zuite_CommonTemplateForUNG/macros/init" />\n
<tr>\n <tr>\n
<td>openAndWait</td>\n <td>openAndWait</td>\n
<td>${base_url}/web_site_module/ung/WebSite_logout</td>\n <td>${ung_url}/WebSite_logout</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//a[@href="${base_url}/web_site_module/ung/WebSite_logout"]</td>\n <td>//a[@href="${ung_url}/WebSite_logout"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
......
...@@ -47,10 +47,10 @@ ...@@ -47,10 +47,10 @@
<thead>\n <thead>\n
<tr><td rowspan="1" colspan="3" tal:content="template/getId"/></tr>\n <tr><td rowspan="1" colspan="3" tal:content="template/getId"/></tr>\n
</thead><tbody>\n </thead><tbody>\n
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />\n <tal:block metal:use-macro="here/Zuite_CommonTemplateForUNG/macros/init" />\n
<tr>\n <tr>\n
<td>openAndWait</td>\n <td>openAndWait</td>\n
<td>${base_url}/web_site_module/ung/WebSite_logout</td>\n <td>${ung_url}/WebSite_logout</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_text</string> </key>
<value> <unicode encoding="cdata"><![CDATA[
<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n
xmlns:metal="http://xml.zope.org/namespaces/metal">\n
<tal:block metal:define-macro="init">\n
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />\n
<tr>\n
<td>store</td>\n
<td>${base_url}/web_site_module/ung</td>\n
<td>ung_url</td>\n
</tr>\n
</tal:block>\n
</tal:block>
]]></unicode> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>expand</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Zuite_CommonTemplateForUNG</string> </value>
</item>
<item>
<key> <string>output_encoding</string> </key>
<value> <string>utf-8</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <unicode></unicode> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
2 3
\ No newline at end of file \ No newline at end of file
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