app/soc/templates/soc/group/public.html
author Lennard de Rijk <ljvderijk@gmail.com>
Thu, 29 Jan 2009 16:12:57 +0000
changeset 1064 4f1d179f39ae
parent 482 839740b061ad
child 1330 fa13d8b45594
permissions -rw-r--r--
Edited existing templates to deal with the new fields in group model. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
257
878f9ec9dd07 Add group templates that can be used by Sponsor, Organization, School, Club views. Right now only upcoming commit of Sponsor views is using it.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     1
{% extends "soc/base.html" %}
878f9ec9dd07 Add group templates that can be used by Sponsor, Organization, School, Club views. Right now only upcoming commit of Sponsor views is using it.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     2
{% comment %}
878f9ec9dd07 Add group templates that can be used by Sponsor, Organization, School, Club views. Right now only upcoming commit of Sponsor views is using it.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     3
Licensed under the Apache License, Version 2.0 (the "License");
878f9ec9dd07 Add group templates that can be used by Sponsor, Organization, School, Club views. Right now only upcoming commit of Sponsor views is using it.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     4
you may not use this file except in compliance with the License.
878f9ec9dd07 Add group templates that can be used by Sponsor, Organization, School, Club views. Right now only upcoming commit of Sponsor views is using it.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     5
You may obtain a copy of the License at
878f9ec9dd07 Add group templates that can be used by Sponsor, Organization, School, Club views. Right now only upcoming commit of Sponsor views is using it.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     6
878f9ec9dd07 Add group templates that can be used by Sponsor, Organization, School, Club views. Right now only upcoming commit of Sponsor views is using it.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     7
  http://www.apache.org/licenses/LICENSE-2.0
878f9ec9dd07 Add group templates that can be used by Sponsor, Organization, School, Club views. Right now only upcoming commit of Sponsor views is using it.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     8
878f9ec9dd07 Add group templates that can be used by Sponsor, Organization, School, Club views. Right now only upcoming commit of Sponsor views is using it.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     9
Unless required by applicable law or agreed to in writing, software
878f9ec9dd07 Add group templates that can be used by Sponsor, Organization, School, Club views. Right now only upcoming commit of Sponsor views is using it.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    10
distributed under the License is distributed on an "AS IS" BASIS,
878f9ec9dd07 Add group templates that can be used by Sponsor, Organization, School, Club views. Right now only upcoming commit of Sponsor views is using it.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    11
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
878f9ec9dd07 Add group templates that can be used by Sponsor, Organization, School, Club views. Right now only upcoming commit of Sponsor views is using it.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    12
See the License for the specific language governing permissions and
878f9ec9dd07 Add group templates that can be used by Sponsor, Organization, School, Club views. Right now only upcoming commit of Sponsor views is using it.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    13
limitations under the License.
878f9ec9dd07 Add group templates that can be used by Sponsor, Organization, School, Club views. Right now only upcoming commit of Sponsor views is using it.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    14
{% endcomment %}
878f9ec9dd07 Add group templates that can be used by Sponsor, Organization, School, Club views. Right now only upcoming commit of Sponsor views is using it.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    15
{% load forms_helpers %}
409
9d24850db88f Addressed comments by Pawel and Todd
Sverre Rabbelier <srabbelier@gmail.com>
parents: 374
diff changeset
    16
257
878f9ec9dd07 Add group templates that can be used by Sponsor, Organization, School, Club views. Right now only upcoming commit of Sponsor views is using it.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    17
{% block header_title %}
482
839740b061ad Factor out direct use of the page object
Sverre Rabbelier <srabbelier@gmail.com>
parents: 445
diff changeset
    18
{{ page_name }} for {{ entity.name }}
257
878f9ec9dd07 Add group templates that can be used by Sponsor, Organization, School, Club views. Right now only upcoming commit of Sponsor views is using it.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    19
{% endblock %}
409
9d24850db88f Addressed comments by Pawel and Todd
Sverre Rabbelier <srabbelier@gmail.com>
parents: 374
diff changeset
    20
257
878f9ec9dd07 Add group templates that can be used by Sponsor, Organization, School, Club views. Right now only upcoming commit of Sponsor views is using it.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    21
{% block body %}
878f9ec9dd07 Add group templates that can be used by Sponsor, Organization, School, Club views. Right now only upcoming commit of Sponsor views is using it.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    22
<p>
878f9ec9dd07 Add group templates that can be used by Sponsor, Organization, School, Club views. Right now only upcoming commit of Sponsor views is using it.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    23
 <table>
360
5ad9cabb5892 Rename 'group' to 'entity' in the Django templates
Sverre Rabbelier <srabbelier@gmail.com>
parents: 344
diff changeset
    24
  {% readonly_field_as_table_row entity.fields.name.label entity.name %}
5ad9cabb5892 Rename 'group' to 'entity' in the Django templates
Sverre Rabbelier <srabbelier@gmail.com>
parents: 344
diff changeset
    25
  {% readonly_field_as_table_row entity.fields.home_page.label entity.home_page %}
5ad9cabb5892 Rename 'group' to 'entity' in the Django templates
Sverre Rabbelier <srabbelier@gmail.com>
parents: 344
diff changeset
    26
  {% readonly_field_as_table_row entity.fields.description.label entity.description %}
1064
4f1d179f39ae Edited existing templates to deal with the new fields in group model.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 482
diff changeset
    27
  {% readonly_field_as_table_row entity.fields.contact_street.label entity.contact_street %}
4f1d179f39ae Edited existing templates to deal with the new fields in group model.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 482
diff changeset
    28
  {% readonly_field_as_table_row entity.fields.contact_city.label entity.contact_city %}
4f1d179f39ae Edited existing templates to deal with the new fields in group model.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 482
diff changeset
    29
  {% readonly_field_as_table_row entity.fields.contact_state.label entity.contact_state %}
4f1d179f39ae Edited existing templates to deal with the new fields in group model.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 482
diff changeset
    30
  {% readonly_field_as_table_row entity.fields.contact_country.label entity.contact_country %}
4f1d179f39ae Edited existing templates to deal with the new fields in group model.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 482
diff changeset
    31
  {% readonly_field_as_table_row entity.fields.contact_postalcode.label entity.contact_postalcode %}
360
5ad9cabb5892 Rename 'group' to 'entity' in the Django templates
Sverre Rabbelier <srabbelier@gmail.com>
parents: 344
diff changeset
    32
  {% readonly_field_as_table_row entity.fields.phone.label entity.phone %}
1064
4f1d179f39ae Edited existing templates to deal with the new fields in group model.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 482
diff changeset
    33
  {% readonly_field_as_table_row entity.fields.shipping_street.label entity.shipping_street %}
4f1d179f39ae Edited existing templates to deal with the new fields in group model.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 482
diff changeset
    34
  {% readonly_field_as_table_row entity.fields.shipping_city.label entity.shipping_city %}
4f1d179f39ae Edited existing templates to deal with the new fields in group model.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 482
diff changeset
    35
  {% readonly_field_as_table_row entity.fields.shipping_state.label entity.shipping_state %}
4f1d179f39ae Edited existing templates to deal with the new fields in group model.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 482
diff changeset
    36
  {% readonly_field_as_table_row entity.fields.shipping_country.label entity.shipping_country %}
4f1d179f39ae Edited existing templates to deal with the new fields in group model.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 482
diff changeset
    37
  {% readonly_field_as_table_row entity.fields.shipping_postalcode.label entity.shipping_postalcode %}
257
878f9ec9dd07 Add group templates that can be used by Sponsor, Organization, School, Club views. Right now only upcoming commit of Sponsor views is using it.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    38
 </table>
878f9ec9dd07 Add group templates that can be used by Sponsor, Organization, School, Club views. Right now only upcoming commit of Sponsor views is using it.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    39
</p>
360
5ad9cabb5892 Rename 'group' to 'entity' in the Django templates
Sverre Rabbelier <srabbelier@gmail.com>
parents: 344
diff changeset
    40
{% endblock %}