Applied initial merge of the new subtemplate renderer

This commit is contained in:
Roberto Rosario
2011-04-30 04:45:05 -04:00
parent f65dbb46f7
commit 16061b304e
4 changed files with 105 additions and 58 deletions
@@ -137,7 +137,7 @@ def _get_object_navigation_links(context, menu_name=None, links_dict=object_navi
"""
navigation_object_links = Variable('navigation_object_links').resolve(context)
if navigation_object_links:
return navigation_object_links
return [link for link in resolve_links(context, navigation_object_links, current_view, current_path)]
except VariableDoesNotExist:
pass