# HG changeset patch # User Sverre Rabbelier # Date 1232644997 0 # Node ID 7110fc489fd00be5330f5a2ba61608ea79f9376e # Parent 0cc7a76f0eb3aed8f229cf707feb4c83c97a9792 Rename "site/settings" to "site" The "/site/settings" view is not about the Site Settings an sich, but more about the "site presence singleton". In this context it does not make sense to call it "site/settings". Patch by: Sverre Rabbelier diff -r 0cc7a76f0eb3 -r 7110fc489fd0 app/soc/templates/soc/home/public.html --- a/app/soc/templates/soc/home/public.html Thu Jan 22 16:05:49 2009 +0000 +++ b/app/soc/templates/soc/home/public.html Thu Jan 22 17:23:17 2009 +0000 @@ -53,7 +53,7 @@ {{ home_document.content|safe }} {% else %} {% block missing_doc %} -This is the default home page can be edited via Edit Site Settings.
+This is the default home page can be edited via Edit Site Settings.
{% endblock %} {% endif %} {% if entity.feed_url %} diff -r 0cc7a76f0eb3 -r 7110fc489fd0 app/soc/templates/soc/presence/public.html --- a/app/soc/templates/soc/presence/public.html Thu Jan 22 16:05:49 2009 +0000 +++ b/app/soc/templates/soc/presence/public.html Thu Jan 22 17:23:17 2009 +0000 @@ -18,10 +18,10 @@ creating a new Document or editing an existing Document and then selecting that Document in the -Site Settings interface. +Site Settings interface. Other elements of this page, such as a feed to be displayed below this content, can also be set using the -Site Settings interface. +Site Settings interface. You need to sign in as site Developer in order to change -Site Settings. +Site Settings. {% endblock %} diff -r 0cc7a76f0eb3 -r 7110fc489fd0 app/soc/templates/soc/site/error.html --- a/app/soc/templates/soc/site/error.html Thu Jan 22 16:05:49 2009 +0000 +++ b/app/soc/templates/soc/site/error.html Thu Jan 22 17:23:17 2009 +0000 @@ -22,5 +22,5 @@ {% endblock %} {% block body %} -This is the default home page, which can be edited via Edit Site Settings.
+This is the default home page, which can be edited via Edit Site Settings.
{% endblock %} diff -r 0cc7a76f0eb3 -r 7110fc489fd0 app/soc/templates/soc/site/list/row.html --- a/app/soc/templates/soc/site/list/row.html Thu Jan 22 16:05:49 2009 +0000 +++ b/app/soc/templates/soc/site/list/row.html Thu Jan 22 17:23:17 2009 +0000 @@ -1,9 +1,9 @@ +onclick="document.location.href='/site/edit/{{ list.item.scope_path }}/{{ list.item.link_id }}'" name="name">
{{ list.item.scope_path}}/{{ list.item.link_id }} + href="/site/edit/{{ list.item.scope_path }}/{{ list.item.link_id }}">{{ list.item.scope_path}}/{{ list.item.link_id }}
diff -r 0cc7a76f0eb3 -r 7110fc489fd0 app/soc/views/models/site.py --- a/app/soc/views/models/site.py Thu Jan 22 16:05:49 2009 +0000 +++ b/app/soc/views/models/site.py Thu Jan 22 17:23:17 2009 +0000 @@ -56,9 +56,8 @@ new_params['rights'] = rights new_params['name'] = "Site Settings" + new_params['name_plural'] = new_params['name'] new_params['name_short'] = "Site" - new_params['url_name'] = "site/settings" - new_params['module_name'] = "site" new_params['sidebar_defaults'] = [('/%s/edit', 'Edit %(name)s', 'edit')] new_params['sidebar_heading'] = new_params['name_short']