# HG changeset patch # User Sverre Rabbelier # Date 1232729599 0 # Node ID 390c8a98cdd0a176012edeb9860b376b29dfc32c # Parent a85719e9457007f0ba2a34c90dcf3d476bccf4c0 Bugfixes to last commit Access rights for 'home' pages and an errornous endif tag. Patch by: Sverre Rabbelier diff -r a85719e94570 -r 390c8a98cdd0 app/soc/templates/soc/templatetags/_as_table_row.html --- a/app/soc/templates/soc/templatetags/_as_table_row.html Fri Jan 23 16:23:01 2009 +0000 +++ b/app/soc/templates/soc/templatetags/_as_table_row.html Fri Jan 23 16:53:19 2009 +0000 @@ -44,5 +44,5 @@ {{ example_text|safe }} {% else %} - {% endif %} {% endif %} + {% endif %} diff -r a85719e94570 -r 390c8a98cdd0 app/soc/views/models/presence.py --- a/app/soc/views/models/presence.py Fri Jan 23 16:23:01 2009 +0000 +++ b/app/soc/views/models/presence.py Fri Jan 23 16:53:19 2009 +0000 @@ -56,7 +56,11 @@ params: a dict with params for this View """ + rights = {} + rights['home'] = [access.allow] + new_params = {} + new_params['rights'] = rights new_params['extra_dynaexclude'] = ['home', 'tos'] new_params['home_template'] = 'soc/presence/home.html'