Commit 62a54df0 authored by Gabriel Monnerat's avatar Gabriel Monnerat

xhtml style: replace /manage_properties by /manage_main because the path does not work anymore

parent c1e1d647
Pipeline #15313 failed with stage
in 0 seconds
......@@ -77,7 +77,7 @@ for business_field in business_field_list:
line.edit(wf_item_path=wf_item_path,
wf_item_type=type_,
wf_item_title=wf_item_title,
wf_item_edit_url = "%s/manage_properties" % wf_item.absolute_url(),
wf_item_edit_url = "%s/manage_main" % wf_item.absolute_url(),
wf_item_description = wf_item_description,
reference=reference,
term_list=term_list
......
......@@ -76,7 +76,7 @@ for business_field in template_list:
line.edit(wf_item_path=wf_item_path,
wf_item_type=wf_item_type,
wf_item_title=wf_item_title,
wf_item_edit_url = "%s/manage_properties" % wf_item.absolute_url(),
wf_item_edit_url = "%s/manage_main" % wf_item.absolute_url(),
wf_item_description = wf_item_description,
reference=reference,
term_list=term_list
......
......@@ -134,7 +134,7 @@ XXX: Folder_filter accesses selection directly
<tal:block tal:condition="portal/portal_workflow/Base_getSourceVisibility">
<option value="1" disabled="disabled" i18n:translate="" i18n:domain="ui">-- Workflows --</option>
<tal:block tal:repeat="workflow python: portal.portal_workflow.getWorkflowValueListFor(here)">
<option tal:attributes="value python: '%s/manage_properties' % (workflow.absolute_url(), )" tal:content="workflow/title" />
<option tal:attributes="value python: '%s/manage_main' % (workflow.absolute_url(), )" tal:content="workflow/title" />
</tal:block>
</tal:block>
</tal:block>
......
......@@ -56,7 +56,7 @@ if portal.portal_workflow.Base_getSourceVisibility():
result['workflow_list'] = [{"title": "-- %s --" %translate("Workflows"),
"url": ""}]
result['workflow_list'].extend([{"title": x.title,
"url": "%s/manage_properties" %x.absolute_url()} for x in workflow_list])
"url": "%s/manage_main" %x.absolute_url()} for x in workflow_list])
# allowed types to add
visible_allowed_content_type_list = context.getVisibleAllowedContentTypeList()
result['visible_allowed_content_type_list'] = [{"title": "Add %s" %x,
......
......@@ -22,7 +22,7 @@
<tal:block tal:condition="portal/portal_workflow/Base_getSourceVisibility">
<option value="1" disabled="disabled" i18n:translate="" i18n:domain="ui">-- Workflows --</option>
<tal:block tal:repeat="workflow python: portal.portal_workflow.getWorkflowValueListFor(here)">
<option tal:attributes="value string:${workflow/absolute_url}/manage_properties" tal:content="workflow/title" />
<option tal:attributes="value string:${workflow/absolute_url}/manage_main" tal:content="workflow/title" />
</tal:block>
</tal:block>
</tal:block>
......
......@@ -6,7 +6,7 @@
<tr bgcolor="#eeeeee">
<th align="left" colspan="2">
<input type="checkbox" name="ids:list" value="&dtml-id;" />
<a href="&dtml.url_quote-id;/manage_properties">&dtml-id;</a>
<a href="&dtml.url_quote-id;/manage_main">&dtml-id;</a>
&nbsp;
&dtml-title;
</th>
......
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