Fix some wrong paths to templates (committed in r864).
authorPawel Solyga <Pawel.Solyga@gmail.com>
Wed, 22 Oct 2008 16:55:35 +0000
changeset 406 cc603a815cad
parent 405 f3525c1288ed
child 407 3cf5630d86d1
Fix some wrong paths to templates (committed in r864). Patch by: Pawel Solyga Review by: to-be-reviewed
app/soc/templates/soc/list/all.html
app/soc/templates/soc/models/all.html
app/soc/views/models/host.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/soc/templates/soc/list/all.html	Wed Oct 22 16:55:35 2008 +0000
@@ -0,0 +1,25 @@
+{% extends "soc/base.html" %}
+{% comment %}
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+{% endcomment %}
+{% load forms_helpers %}
+{% block body %}
+<p>
+<p>
+{% block instructions %}
+List of {{ entity_type_plural }} in Google Open Source Programs.
+{% endblock %}
+</p>
+{% include list_main %}
+</p>
+{% endblock %}
--- a/app/soc/templates/soc/models/all.html	Wed Oct 22 16:21:50 2008 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-{% extends "soc/base.html" %}
-{% comment %}
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-{% endcomment %}
-{% load forms_helpers %}
-{% block body %}
-<p>
-<p>
-{% block instructions %}
-List of {{ entity_type_plural }} in Google Open Source Programs.
-{% endblock %}
-</p>
-{% include list_main %}
-</p>
-{% endblock %}
--- a/app/soc/views/models/host.py	Wed Oct 22 16:21:50 2008 +0000
+++ b/app/soc/views/models/host.py	Wed Oct 22 16:55:35 2008 +0000
@@ -103,7 +103,7 @@
     # TODO(tlarsen) Add support for Django style template lookup
     params['edit_template'] = 'soc/models/edit.html'
     params['public_template'] = 'soc/models/public.html'
-    params['list_template'] = 'soc/models/all.html'
+    params['list_template'] = 'soc/list/all.html'
 
     params['lists_template'] = {
       'list_main': 'soc/list/list_main.html',