app/soc/templates/soc/group/profile/public.html
author Sverre Rabbelier <srabbelier@gmail.com>
Thu, 16 Oct 2008 17:30:58 +0000
changeset 360 5ad9cabb5892
parent 344 d135c8c09967
child 374 9363b9dc2983
permissions -rw-r--r--
Rename 'group' to 'entity' in the Django templates This allows for generic use of these templates. Patch by: Sverre Rabbelier Reviewed by: to-be-reviewed

{% 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 page_title %}{{ entity_type }} Public Profile{% endblock %}
{% block header_title %}
{{ entity_type }} Public Profile for {{ entity.name }}
{% endblock %}
{% block body %}
<p>
 <table>
  {% readonly_field_as_table_row entity.fields.name.label entity.name %}
  {% readonly_field_as_table_row entity.fields.home_page.label entity.home_page %}
  {% readonly_field_as_table_row entity.fields.description.label entity.description %}
  {% readonly_field_as_table_row entity.fields.street.label entity.street %}
  {% readonly_field_as_table_row entity.fields.city.label entity.city %}
  {% readonly_field_as_table_row entity.fields.state.label entity.state %}
  {% readonly_field_as_table_row entity.fields.country.label entity.country %}
  {% readonly_field_as_table_row entity.fields.postalcode.label entity.postalcode %}
  {% readonly_field_as_table_row entity.fields.phone.label entity.phone %}
 </table>
</p>
{% endblock %}