Add customized proto/person/profile.html template that was missed in the
authorTodd Larsen <tlarsen@google.com>
Thu, 22 May 2008 19:37:38 +0000
changeset 33 616855b101b5
parent 32 670a4571f496
child 34 14c266e01a56
Add customized proto/person/profile.html template that was missed in the original apps/proto commit, and follow the new <model>/<view>.html directory structure now used in soc/templates/soc.
apps/proto/proto/templates/proto/person/profile.html
apps/proto/urls.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/apps/proto/proto/templates/proto/person/profile.html	Thu May 22 19:37:38 2008 +0000
@@ -0,0 +1,20 @@
+{% extends 'soc/person/profile.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 %}
+{% block 'stylesheet' %}
+<link rel="stylesheet" type="text/css" href="/content/proto.css" />
+{% endblock %}
+{% block 'logo' %}
+<img src="/content/logo.jpg" alt="Melange" />
+{% endblock %}
--- a/apps/proto/urls.py	Thu May 22 19:36:13 2008 +0000
+++ b/apps/proto/urls.py	Thu May 22 19:37:38 2008 +0000
@@ -23,5 +23,5 @@
 urlpatterns = patterns(
     '',
     (r'^person/profile/$', 'soc.views.person.profile',
-     {'template': 'proto/profile.html'}),
+     {'template': 'proto/person/profile.html'}),
 )