blob: 05495b63ff760b78279f31eb8bbc165576544dd0 [file] [log] [blame]
{% extends "modules/gci/base.html" %}
{% comment %}
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
{% endcomment %}
{% block stylesheets %}
{{ block.super }}
<link rel="stylesheet" type="text/css" media="screen" href="{{ css_path }}/forms.css" />
<link rel="stylesheet" type="text/css" media="screen" href="{{ css_path }}/uniform.default.css" />
{% endblock stylesheets %}
{% block page_content %}
<div class="block block-form">
<div class="block-form-title">
<span class="title">{{ page_name }}</span>
</div>
<div class="request-summary">
<p class="request-requester">
<strong>
{% if request.type == 'Request' %}From:{% else %}To:{% endif %}
</strong> {{ user_name }} {{ request.user.link_id }}
</p>
<p class="request-contact-info"><strong>Email:</strong> {{ user_email }}</p>
<p class="request-status"><strong>Status:</strong> {{ request.statusMessage }}</p>
{% if status_msg %}<p class="request-status-msg">{{ status_msg }}</p>{% endif %}
<p class="request-sent-on"><strong>Sent on:</strong> {{ request.created_on }}</p>
<p class="request-organization"><strong>Organization:</strong> {{ request.org.name }}</p>
<p class="request-message"><strong>Message:</strong> {{ request.message|default:"" }}</p>
</div>
<form action="#" method="post" class="form-create-task clearfix">
{% block form_button %}
{% if is_respondable %}
<div class="form-row form-row-buttons">
<input value="Accept" class="button" type="submit" name="accept">
<input value="Reject" class="button" type="submit" name="reject">
</div>
{% endif %}
{% endblock form_button %}
</form>
</div>
{% endblock page_content %}
{% block dependencies %}
[
dep.uniform,
null,
function () {
jQuery("select, input:radio, input:file, input:checkbox").uniform();
}
]
{% endblock dependencies %}