author | Pawel Solyga <Pawel.Solyga@gmail.com> |
Thu, 23 Oct 2008 12:00:29 +0000 | |
changeset 415 | 6488ff168b42 |
parent 409 | 9d24850db88f |
child 482 | 839740b061ad |
permissions | -rw-r--r-- |
404
44223e50e1fc
Added a Host profile and generalized some views
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff
changeset
|
1 |
{% extends "soc/base.html" %} |
44223e50e1fc
Added a Host profile and generalized some views
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff
changeset
|
2 |
{% comment %} |
44223e50e1fc
Added a Host profile and generalized some views
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff
changeset
|
3 |
Licensed under the Apache License, Version 2.0 (the "License"); |
44223e50e1fc
Added a Host profile and generalized some views
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff
changeset
|
4 |
you may not use this file except in compliance with the License. |
44223e50e1fc
Added a Host profile and generalized some views
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff
changeset
|
5 |
You may obtain a copy of the License at |
44223e50e1fc
Added a Host profile and generalized some views
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff
changeset
|
6 |
|
44223e50e1fc
Added a Host profile and generalized some views
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff
changeset
|
7 |
http://www.apache.org/licenses/LICENSE-2.0 |
44223e50e1fc
Added a Host profile and generalized some views
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff
changeset
|
8 |
|
44223e50e1fc
Added a Host profile and generalized some views
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff
changeset
|
9 |
Unless required by applicable law or agreed to in writing, software |
44223e50e1fc
Added a Host profile and generalized some views
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff
changeset
|
10 |
distributed under the License is distributed on an "AS IS" BASIS, |
44223e50e1fc
Added a Host profile and generalized some views
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff
changeset
|
11 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
44223e50e1fc
Added a Host profile and generalized some views
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff
changeset
|
12 |
See the License for the specific language governing permissions and |
44223e50e1fc
Added a Host profile and generalized some views
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff
changeset
|
13 |
limitations under the License. |
44223e50e1fc
Added a Host profile and generalized some views
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff
changeset
|
14 |
{% endcomment %} |
409
9d24850db88f
Addressed comments by Pawel and Todd
Sverre Rabbelier <srabbelier@gmail.com>
parents:
404
diff
changeset
|
15 |
{% load forms_helpers %} |
404
44223e50e1fc
Added a Host profile and generalized some views
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff
changeset
|
16 |
|
44223e50e1fc
Added a Host profile and generalized some views
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff
changeset
|
17 |
{% block header_title %} |
415
6488ff168b42
Fix typo in models/public.html template. Changes in Host Public Profile template (new header title and deletion of some fields).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
409
diff
changeset
|
18 |
{{ page.short_name }} for {{ entity.user.nick_name }} ({{ entity.given_name }} {{ entity.surname }}) |
404
44223e50e1fc
Added a Host profile and generalized some views
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff
changeset
|
19 |
{% endblock %} |
44223e50e1fc
Added a Host profile and generalized some views
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff
changeset
|
20 |
|
44223e50e1fc
Added a Host profile and generalized some views
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff
changeset
|
21 |
{% block body %} |
409
9d24850db88f
Addressed comments by Pawel and Todd
Sverre Rabbelier <srabbelier@gmail.com>
parents:
404
diff
changeset
|
22 |
<p> |
9d24850db88f
Addressed comments by Pawel and Todd
Sverre Rabbelier <srabbelier@gmail.com>
parents:
404
diff
changeset
|
23 |
<table> |
9d24850db88f
Addressed comments by Pawel and Todd
Sverre Rabbelier <srabbelier@gmail.com>
parents:
404
diff
changeset
|
24 |
{% readonly_field_as_table_row entity.fields.given_name.label entity.given_name %} |
9d24850db88f
Addressed comments by Pawel and Todd
Sverre Rabbelier <srabbelier@gmail.com>
parents:
404
diff
changeset
|
25 |
{% readonly_field_as_table_row entity.fields.surname.label entity.surname %} |
9d24850db88f
Addressed comments by Pawel and Todd
Sverre Rabbelier <srabbelier@gmail.com>
parents:
404
diff
changeset
|
26 |
{% readonly_field_as_table_row entity.fields.display_name.label entity.display_name %} |
9d24850db88f
Addressed comments by Pawel and Todd
Sverre Rabbelier <srabbelier@gmail.com>
parents:
404
diff
changeset
|
27 |
<!-- TODO(pawel.solyga) make this generic --> |
9d24850db88f
Addressed comments by Pawel and Todd
Sverre Rabbelier <srabbelier@gmail.com>
parents:
404
diff
changeset
|
28 |
</table> |
9d24850db88f
Addressed comments by Pawel and Todd
Sverre Rabbelier <srabbelier@gmail.com>
parents:
404
diff
changeset
|
29 |
</p> |
404
44223e50e1fc
Added a Host profile and generalized some views
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff
changeset
|
30 |
{% endblock %} |