Bugfixes to last commit
Access rights for 'home' pages and an errornous endif tag.
Patch by: Sverre Rabbelier
--- 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 @@
<td class="formfieldexample">{{ example_text|safe }}</td>
{% else %}
<td></td>
- {% endif %} {% endif %}
+ {% endif %}
</tr>
--- 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'