app/soc/templates/soc/org_app/review.html
author Sverre Rabbelier <srabbelier@gmail.com>
Sat, 11 Apr 2009 22:57:23 +0000
changeset 2159 a1f1eaaf458b
parent 1814 0c4fd663704b
permissions -rw-r--r--
Use key.id_or_name in templates rather than key.name This is to allow for usage of auto-id's. Patch by: Sverre Rabbelier
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1206
657da4693f4b Refactored the application review template into group_app.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1156
diff changeset
     1
{% extends "soc/group_app/review.html" %}
1156
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
     2
{% comment %}
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
     3
Licensed under the Apache License, Version 2.0 (the "License");
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
     4
you may not use this file except in compliance with the License.
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
     5
You may obtain a copy of the License at
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
     6
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
     7
  http://www.apache.org/licenses/LICENSE-2.0
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
     8
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
     9
Unless required by applicable law or agreed to in writing, software
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
    10
distributed under the License is distributed on an "AS IS" BASIS,
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
    11
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
    12
See the License for the specific language governing permissions and
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
    13
limitations under the License.
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
    14
{% endcomment %}
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
    15
{% load forms_helpers %}
1206
657da4693f4b Refactored the application review template into group_app.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1156
diff changeset
    16
{% block group_details %}
1156
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
    17
  {% readonly_field_as_twoline_table_row entity.fields.prior_participation.label entity.prior_participation %}
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
    18
  {% readonly_field_as_twoline_table_row entity.fields.prior_application.label entity.prior_application %}
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
    19
  {% readonly_field_as_twoline_table_row entity.fields.license_name.label entity.license_name %}
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
    20
  {% readonly_field_as_twoline_table_row entity.fields.pub_mailing_list.label entity.pub_mailing_list %}
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
    21
  {% readonly_field_as_twoline_table_row entity.fields.dev_mailing_list.label entity.dev_mailing_list %}
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
    22
  {% readonly_field_as_twoline_table_row entity.fields.irc_channel.label entity.irc_channel %}
1291
7a36f80bbd28 Fixed a bug in group_app templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1286
diff changeset
    23
  {% if entity.backup_admin %}
1156
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
    24
  {% readonly_field_as_twoline_table_row entity.fields.backup_admin.label entity.backup_admin.link_id %}
1291
7a36f80bbd28 Fixed a bug in group_app templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1286
diff changeset
    25
  {% endif %}
1156
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
    26
  {% readonly_field_as_twoline_table_row entity.fields.member_criteria.label entity.member_criteria %}
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
    27
  {% readonly_field_as_twoline_table_row entity.fields.contrib_disappears.label entity.contrib_disappears %}
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
    28
  {% readonly_field_as_twoline_table_row entity.fields.member_disappears.label entity.member_disappears %}
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
    29
  {% readonly_field_as_twoline_table_row entity.fields.encourage_contribs.label entity.encourage_contribs %}
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
    30
  {% readonly_field_as_twoline_table_row entity.fields.continued_contribs.label entity.continued_contribs %}
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
    31
  {% readonly_field_as_twoline_table_row entity.fields.ideas.label entity.ideas %}
1712
30c6322b93c1 Org Application contributors template is now marked safe.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1504
diff changeset
    32
  {% readonly_safe_field_as_twoline_table_row entity.fields.contrib_template.label entity.contrib_template %}
1156
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
    33
{% endblock %}
1814
0c4fd663704b Some code re-use in templates
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1712
diff changeset
    34
1232
3bce6205e24e Added pre-accpeted status to group_app.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1206
diff changeset
    35
{% block buttons %}
2159
a1f1eaaf458b Use key.id_or_name in templates rather than key.name
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1814
diff changeset
    36
    <input type="button" onclick="location.href='/{{ entity_type_url|lower }}/review/{{ entity.key.id_or_name }}?status=pre-accepted'" value="Pre-Accept"/>
a1f1eaaf458b Use key.id_or_name in templates rather than key.name
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1814
diff changeset
    37
    <input type="button" onclick="location.href='/{{ entity_type_url|lower }}/review/{{ entity.key.id_or_name }}?status=pre-rejected'" value="Pre-Reject"/>
1814
0c4fd663704b Some code re-use in templates
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1712
diff changeset
    38
    {{ block.super }}
1232
3bce6205e24e Added pre-accpeted status to group_app.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1206
diff changeset
    39
{% endblock buttons %}