app/soc/templates/soc/request/process_request.html
author Pawel Solyga <Pawel.Solyga@gmail.com>
Mon, 09 Mar 2009 00:40:27 +0000
changeset 1767 eb7b8367e30f
parent 1756 0a332ff872bf
child 1937 7343876363cd
permissions -rw-r--r--
Small text changes in process_request.html template. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
962
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     1
{% extends "soc/base.html" %}
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     2
{% comment %}
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     3
Licensed under the Apache License, Version 2.0 (the "License");
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     4
you may not use this file except in compliance with the License.
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     5
You may obtain a copy of the License at
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     6
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     7
  http://www.apache.org/licenses/LICENSE-2.0
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     8
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     9
Unless required by applicable law or agreed to in writing, software
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    10
distributed under the License is distributed on an "AS IS" BASIS,
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    11
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    12
See the License for the specific language governing permissions and
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    13
limitations under the License.
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    14
{% endcomment %}
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    15
{% load forms_helpers %}
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    16
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    17
{% block header_title %}
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    18
{{ page_name }} for {{ entity.requester.link_id }}
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    19
{% endblock %}
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    20
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    21
{% block body %}
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    22
<p>
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    23
<div="text"> 
1756
0a332ff872bf The process_request template now properly differentiate between a request in "new" and "group_accepted" state.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1085
diff changeset
    24
{% ifequal request_status "new" %}
1767
eb7b8367e30f Small text changes in process_request.html template.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1756
diff changeset
    25
  This is the request from <b>{{ entity.link_id }}</b> to become a 
1756
0a332ff872bf The process_request template now properly differentiate between a request in "new" and "group_accepted" state.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1085
diff changeset
    26
  <b>{{ entity.role_verbose }}</b> for <b>{{entity.scope.name }}</b>.</br>
0a332ff872bf The process_request template now properly differentiate between a request in "new" and "group_accepted" state.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1085
diff changeset
    27
  Please select your response by using the buttons below.
962
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    28
</div>
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    29
</p>
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    30
1756
0a332ff872bf The process_request template now properly differentiate between a request in "new" and "group_accepted" state.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1085
diff changeset
    31
<table>
962
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    32
<tr>
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    33
  <td>
1085
0afbdd0905ef Renamed state to status where appropriate.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1080
diff changeset
    34
    <input type="button" onclick="location.href='/{{ module_name }}/process_request/{{ entity.scope_path }}/{{ entity.link_id }}?status=group_accepted'" value="Accept"/>
0afbdd0905ef Renamed state to status where appropriate.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1080
diff changeset
    35
    <input type="button" onclick="location.href='/{{ module_name }}/process_request/{{ entity.scope_path }}/{{ entity.link_id }}?status=rejected'" value="Reject"/>
0afbdd0905ef Renamed state to status where appropriate.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1080
diff changeset
    36
    <input type="button" onclick="location.href='/{{ module_name }}/process_request/{{ entity.scope_path }}/{{ entity.link_id }}?status=ignored'" value="Ignore"/>
962
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    37
  </td>
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    38
</tr>
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    39
</table>
1756
0a332ff872bf The process_request template now properly differentiate between a request in "new" and "group_accepted" state.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1085
diff changeset
    40
{% else %}
0a332ff872bf The process_request template now properly differentiate between a request in "new" and "group_accepted" state.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1085
diff changeset
    41
<p>
0a332ff872bf The process_request template now properly differentiate between a request in "new" and "group_accepted" state.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1085
diff changeset
    42
<div="text"> 
1767
eb7b8367e30f Small text changes in process_request.html template.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1756
diff changeset
    43
  This is the invitation to <b>{{ entity.link_id }}</b> to become a 
1756
0a332ff872bf The process_request template now properly differentiate between a request in "new" and "group_accepted" state.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1085
diff changeset
    44
  <b>{{ entity.role_verbose }}</b> for <b>{{entity.scope.name }}</b>.<br/> 
0a332ff872bf The process_request template now properly differentiate between a request in "new" and "group_accepted" state.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1085
diff changeset
    45
  If you would like to withdraw this invite please press the withdraw button below.
0a332ff872bf The process_request template now properly differentiate between a request in "new" and "group_accepted" state.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1085
diff changeset
    46
</div>
0a332ff872bf The process_request template now properly differentiate between a request in "new" and "group_accepted" state.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1085
diff changeset
    47
</p>
962
606871fda11c Added request creation and processing to role.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    48
1756
0a332ff872bf The process_request template now properly differentiate between a request in "new" and "group_accepted" state.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1085
diff changeset
    49
<table>
0a332ff872bf The process_request template now properly differentiate between a request in "new" and "group_accepted" state.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1085
diff changeset
    50
<tr>
0a332ff872bf The process_request template now properly differentiate between a request in "new" and "group_accepted" state.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1085
diff changeset
    51
  <td>
0a332ff872bf The process_request template now properly differentiate between a request in "new" and "group_accepted" state.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1085
diff changeset
    52
    <input type="button" onclick="location.href='/{{ module_name }}/process_request/{{ entity.scope_path }}/{{ entity.link_id }}?status=rejected'" value="Withdraw"/>
0a332ff872bf The process_request template now properly differentiate between a request in "new" and "group_accepted" state.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1085
diff changeset
    53
    <input type="button" value="Back to Previous Page" onClick="javascript: history.go(-1)">
0a332ff872bf The process_request template now properly differentiate between a request in "new" and "group_accepted" state.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1085
diff changeset
    54
  </td>
0a332ff872bf The process_request template now properly differentiate between a request in "new" and "group_accepted" state.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1085
diff changeset
    55
</tr>
0a332ff872bf The process_request template now properly differentiate between a request in "new" and "group_accepted" state.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1085
diff changeset
    56
</table>
0a332ff872bf The process_request template now properly differentiate between a request in "new" and "group_accepted" state.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1085
diff changeset
    57
{% endifequal %}
0a332ff872bf The process_request template now properly differentiate between a request in "new" and "group_accepted" state.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1085
diff changeset
    58
{% endblock body %}