app/soc/templates/soc/organization/public.html
author Sverre Rabbelier <srabbelier@gmail.com>
Fri, 06 Mar 2009 18:11:09 +0000
changeset 1693 c5691230da01
parent 1589 6a9bb0f8cde6
child 2159 a1f1eaaf458b
permissions -rw-r--r--
Add a link to an org's home page if appropriate Patch by: Sverre Rabbelier
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1330
fa13d8b45594 Remove private data from club and org public templates
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1126
diff changeset
     1
{% extends "soc/group/public.html" %}
1126
4fc86db70a76 Added organization view and templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     2
{% comment %}
4fc86db70a76 Added organization view and templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     3
Licensed under the Apache License, Version 2.0 (the "License");
4fc86db70a76 Added organization view and templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     4
you may not use this file except in compliance with the License.
4fc86db70a76 Added organization view and templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     5
You may obtain a copy of the License at
4fc86db70a76 Added organization view and templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     6
4fc86db70a76 Added organization view and templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     7
  http://www.apache.org/licenses/LICENSE-2.0
4fc86db70a76 Added organization view and templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     8
4fc86db70a76 Added organization view and templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     9
Unless required by applicable law or agreed to in writing, software
4fc86db70a76 Added organization view and templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    10
distributed under the License is distributed on an "AS IS" BASIS,
4fc86db70a76 Added organization view and templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    11
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4fc86db70a76 Added organization view and templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    12
See the License for the specific language governing permissions and
4fc86db70a76 Added organization view and templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    13
limitations under the License.
4fc86db70a76 Added organization view and templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    14
{% endcomment %}
4fc86db70a76 Added organization view and templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    15
{% load forms_helpers %}
4fc86db70a76 Added organization view and templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    16
1693
c5691230da01 Add a link to an org's home page if appropriate
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1589
diff changeset
    17
{% block header_title %}
c5691230da01 Add a link to an org's home page if appropriate
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1589
diff changeset
    18
{{ page_name }} for {{ entity.name }}
c5691230da01 Add a link to an org's home page if appropriate
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1589
diff changeset
    19
{% if entity.home %}
c5691230da01 Add a link to an org's home page if appropriate
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1589
diff changeset
    20
<a href="/{{ entity_type_url }}/home/{{ entity.key.name }}">(Home Page)</a>
c5691230da01 Add a link to an org's home page if appropriate
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1589
diff changeset
    21
{% endif %}
c5691230da01 Add a link to an org's home page if appropriate
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1589
diff changeset
    22
{% endblock %}
c5691230da01 Add a link to an org's home page if appropriate
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1589
diff changeset
    23
c5691230da01 Add a link to an org's home page if appropriate
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1589
diff changeset
    24
1330
fa13d8b45594 Remove private data from club and org public templates
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1126
diff changeset
    25
{% block fields %}
fa13d8b45594 Remove private data from club and org public templates
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1126
diff changeset
    26
  {{ block.super }}
fa13d8b45594 Remove private data from club and org public templates
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1126
diff changeset
    27
  {% readonly_field_as_table_row entity.fields.dev_mailing_list.label entity.dev_mailing_list %}
1589
6a9bb0f8cde6 Use the new readonly_safe_field where appropriate
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1587
diff changeset
    28
  {% readonly_safe_field_as_table_row entity.fields.contrib_template.label entity.contrib_template %}
1587
7a61eff82b9d Make use of readonly_url_field where appropriate
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1567
diff changeset
    29
  {% readonly_url_field_as_table_row entity.fields.ideas.label entity.ideas %}
1126
4fc86db70a76 Added organization view and templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    30
{% endblock %}