Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: b4727ae9a1
Fetching contributors…

Cannot retrieve contributors at this time

executable file 113 lines (106 sloc) 3.836 kB
{% extends "base.html" %}
{% load i18n %}
{% block title %}{{report.title}}{% endblock %}
{% block css %}
<style type="text/css" media="screen">
#update-header {
float: left;
width: 100%;
}
#update-title {
float: left;
width: 48%;
}
#update-email-me {
float: right;
width: 48%;
text-align: right;
margin-top: 4px;
}
</style>
{% endblock %}
{% block content %}
<div id="page_content_container">
<div id="leftcol">
{% if report.is_fixed %}
<div class='is_fixed'>{% trans "This problem has been fixed." %}</div>
{% endif %}
{% if not report.is_confirmed %}
<div class='is_fixed'>{% trans "Please check your email and click on the confirmation link to complete your submission. Your report will not be sent to the City's 311 Department or be visible to other visitors until you have done so." %}</div>
{% endif %}
<h3>{{report.title}}</h3>
{% if not report.is_fixed and report.is_confirmed %}
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style">
<a href="http://www.addthis.com/bookmark.php?v=250&pub=xa-4a620b09451f9502" class="addthis_button_compact">Share</a>
<span class="addthis_separator">|</span>
<a class="addthis_button_facebook"></a>
<a class="addthis_button_myspace"></a>
<a class="addthis_button_google"></a>
<a class="addthis_button_twitter"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a620b09451f9502"></script>
<!-- AddThis Button END -->
{% endif %}
<div id='report-header'>
<div id='report-status'>
{% trans "Category:" %}<b>{{report.category.name}}</b><br/>
{% trans "Filed by:" %}{{report.author}}<br/>
<i>
{% if report.sent_at %}
{% trans "Sent to" %}: {{report.email_sent_to}}<br/>
{% trans "On" %}: {{report.sent_at|date}}.
{% endif %}
</i>
<br/>
</div>
{% if report.is_confirmed %}
<div id='report-subscribers'>
{% trans "Subscribers:" %} <b>{{subscribers}}</b><br/>
{% if not report.is_fixed %}
<a href="/reports/{{report.id}}/subscribers/">{% trans "Subscribe" %}</a>
{% endif %}
</div>
{% endif %}
</div>
<br/>
<p>{{report.desc|linebreaks}}</p>
{% if report.photo %}
<img align=center' src='/media/{{report.photo}}'>
{% endif %}
{% if report.is_confirmed %}
<div id="more-actions">
<p><a href='/reports/{{report.id}}/flags'>{% trans "Offensive? Unsuitable? Tell us" %}</a></p>
</div>
{% if updates %}
<h3>{% trans "Updates" %}</h3>
{% for update in updates %}
{% trans "posted by" %} {{update.author}}, {{update.created_at|date}}
<br/>
{{update.desc}}
<hr/>
{% endfor %}
{% endif %}
{% if not report.is_fixed %}
<hr/>
<div id="update-header">
<div id="update-title"><h3>{% trans "Provide an update" %} </h3></div>
</div>
<p>{% trans "Please note that updates are not sent to the City." %}</p>
<form action="/reports/{{report.id}}/updates/" method="post">
<table class="form">
{{update_form.as_table}}
<tr><td></td><td><input type="checkbox" id="is_fixed" name="is_fixed" value="1">{% trans "This problem has been fixed." %}</td></tr>
<tr><td></td><td><input type ="submit" value= "{% trans "Submit" %}"></td></td>
</table>
</form>
{% endif %}
{% endif %}
</div>
<div id="rightcol">
{{ google.body }}
<div id="{{ google.dom_id }}" style="width:400px;height:400px;"></div>
{% include "wards/_info_box.html" %}
</div>
</div>
{% endblock %}
Jump to Line
Something went wrong with that request. Please try again.