app/soc/templates/soc/organization/public.html
author Lennard de Rijk <ljvderijk@gmail.com>
Sat, 31 Jan 2009 18:55:34 +0000
changeset 1126 4fc86db70a76
child 1330 fa13d8b45594
permissions -rw-r--r--
Added organization view and templates. Also added TODO's so it's clear what still needs to be done to make this work. Patch by: Lennard de Rijk 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 header_title %}
{{ page_name }} 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.contact_street.label entity.contact_street %}
  {% readonly_field_as_table_row entity.fields.contact_city.label entity.contact_city %}
  {% readonly_field_as_table_row entity.fields.contact_state.label entity.contact_state %}
  {% readonly_field_as_table_row entity.fields.contact_country.label entity.contact_country %}
  {% readonly_field_as_table_row entity.fields.contact_postalcode.label entity.contact_postalcode %}
  {% readonly_field_as_table_row entity.fields.phone.label entity.phone %}
  {% readonly_field_as_table_row entity.fields.shipping_street.label entity.shipping_street %}
  {% readonly_field_as_table_row entity.fields.shipping_city.label entity.shipping_city %}
  {% readonly_field_as_table_row entity.fields.shipping_state.label entity.shipping_state %}
  {% readonly_field_as_table_row entity.fields.shipping_country.label entity.shipping_country %}
  {% readonly_field_as_table_row entity.fields.shipping_postalcode.label entity.shipping_postalcode %}
 </table>
</p>
{% endblock %}