Commit 4a6d2d05 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

do not raise an exception if a web site has no subject.

parent 103c1f5d
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
is_right_area_empty python:right_list == 0 or len(right_list) == 0;\n is_right_area_empty python:right_list == 0 or len(right_list) == 0;\n
is_front_layout python: layout_form is not None and\n is_front_layout python: layout_form is not None and\n
layout_form.id == \'erp5_km_minimal_front_layout\';\n layout_form.id == \'erp5_km_minimal_front_layout\';\n
subject_list python:here.getLayoutProperty(\'subject_list\');\n subject_list python:here.getLayoutProperty(\'subject_list\') or [];\n
global header_title python:\'%s | %s\' % (here.getTranslatedTitleOrId(), website.getTranslatedTitleOrId());\n global header_title python:\'%s | %s\' % (here.getTranslatedTitleOrId(), website.getTranslatedTitleOrId());\n
global css_list_template python:[\n global css_list_template python:[\n
\'%s/erp5_listbox.css\' % portal_path,\n \'%s/erp5_listbox.css\' % portal_path,\n
......
1811 1812
\ 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