Commit f5f9bab1 authored by Vincent Pelletier's avatar Vincent Pelletier

In addition to storing translated simulation state title, also store bare simulation state.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24983 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a7d2bef9
......@@ -160,6 +160,7 @@ if movement is not None: # case of history\n
explanation_portal_type = catalog_explanation.portal_type\n
if display_simulation_state:\n
simulation_state = catalog_explanation.simulation_state\n
resource_dict[\'simulation_state\'] = simulation_state\n
simulation_state_title = cache_translated_simulation_state.get((explanation_portal_type,simulation_state), None)\n
if simulation_state_title is None:\n
portal = context.getPortalObject()\n
......
473
\ No newline at end of file
474
\ 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