app/soc/templates/soc/group/public.html
author Sverre Rabbelier <srabbelier@gmail.com>
Mon, 02 Mar 2009 00:02:11 +0000
changeset 1587 7a61eff82b9d
parent 1571 e23f9719ec1f
child 1589 6a9bb0f8cde6
permissions -rw-r--r--
Make use of readonly_url_field where appropriate Patch by: Sverre Rabbelier
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>
1330
fa13d8b45594 Remove private data from club and org public templates
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1064
diff changeset
    24
  {% block fields %}
360
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.name.label entity.name %}
1330
fa13d8b45594 Remove private data from club and org public templates
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1064
diff changeset
    26
  {% readonly_field_as_table_row entity.fields.founder.label entity.founder.link_id %}
1587
7a61eff82b9d Make use of readonly_url_field where appropriate
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1571
diff changeset
    27
  {% readonly_url_field_as_table_row entity.fields.home_page.label entity.home_page %}
7a61eff82b9d Make use of readonly_url_field where appropriate
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1571
diff changeset
    28
  {% readonly_url_field_as_table_row entity.fields.email.label entity.email %}
7a61eff82b9d Make use of readonly_url_field where appropriate
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1571
diff changeset
    29
  {% readonly_url_field_as_table_row entity.fields.pub_mailing_list.label entity.pub_mailing_list %}
1330
fa13d8b45594 Remove private data from club and org public templates
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1064
diff changeset
    30
  {% readonly_field_as_table_row entity.fields.irc_channel.label entity.irc_channel %}
1571
e23f9719ec1f Made description the last field on the org public page
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1541
diff changeset
    31
  {% readonly_field_as_table_row entity.fields.description.label entity.description %}
1330
fa13d8b45594 Remove private data from club and org public templates
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1064
diff changeset
    32
  {% endblock %}
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
    33
 </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
    34
</p>
360
5ad9cabb5892 Rename 'group' to 'entity' in the Django templates
Sverre Rabbelier <srabbelier@gmail.com>
parents: 344
diff changeset
    35
{% endblock %}