Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add templates/web/fixmystreet to fixamingata's paths, and Remove any …

…identical unneeded templates.
  • Loading branch information...
commit 942d6f7bd16efe9c223de770d1cead005d446de5 1 parent 646b2de
@dracos dracos authored
Showing with 4 additions and 1,285 deletions.
  1. +4 −1 perllib/FixMyStreet/Cobrand/FixaMinGata.pm
  2. +0 −93 templates/web/fixamingata/alert/_list.html
  3. +0 −9 templates/web/fixamingata/alert/list-ajax.html
  4. +0 −32 templates/web/fixamingata/alert/updates.html
  5. +0 −31 templates/web/fixamingata/around/around_index.html
  6. +0 −9 templates/web/fixamingata/around/around_map_list_items.html
  7. +0 −118 templates/web/fixamingata/around/display_location.html
  8. +0 −7 templates/web/fixamingata/around/on_map_list_items.html
  9. +0 −34 templates/web/fixamingata/around/postcode_form.html
  10. +0 −14 templates/web/fixamingata/around/tabbed_lists.html
  11. +0 −100 templates/web/fixamingata/contact/index.html
  12. +0 −194 templates/web/fixamingata/faq/faq-en-gb.html
  13. +0 −11 templates/web/fixamingata/front/news.html
  14. +0 −74 templates/web/fixamingata/my/my.html
  15. +0 −15 templates/web/fixamingata/pagination.html
  16. +0 −6 templates/web/fixamingata/questionnaire/completed-open.html
  17. +0 −109 templates/web/fixamingata/questionnaire/index.html
  18. +0 −21 templates/web/fixamingata/report/_main.html
  19. +0 −11 templates/web/fixamingata/report/_support.html
  20. +0 −21 templates/web/fixamingata/report/banner.html
  21. +0 −196 templates/web/fixamingata/report/display.html
  22. +0 −24 templates/web/fixamingata/report/new/category_extras.html
  23. +0 −36 templates/web/fixamingata/report/new/fill_in_details.html
  24. +0 −8 templates/web/fixamingata/report/photo-js.html
  25. +0 −8 templates/web/fixamingata/report/photo.html
  26. +0 −28 templates/web/fixamingata/report/update.html
  27. +0 −24 templates/web/fixamingata/reports/_extras.html
  28. +0 −1  templates/web/fixamingata/reports/_list-entry.html
  29. +0 −19 templates/web/fixamingata/reports/_rss.html
  30. +0 −12 templates/web/fixamingata/reports/_ward-list.html
  31. +0 −19 templates/web/fixamingata/tracking_code.html
View
5 perllib/FixMyStreet/Cobrand/FixaMinGata.pm
@@ -19,7 +19,10 @@ sub site_title {
sub path_to_web_templates {
my $self = shift;
- return [ FixMyStreet->path_to( 'templates/web', $self->moniker )->stringify ];
+ return [
+ FixMyStreet->path_to( 'templates/web', $self->moniker )->stringify,
+ FixMyStreet->path_to( 'templates/web/fixmystreet' )->stringify
+ ];
}
sub country {
View
93 templates/web/fixamingata/alert/_list.html
@@ -1,93 +0,0 @@
- <input type="hidden" name="type" value="local">
- <input type="hidden" name="pc" value="[% pc | html %]">
- <input type="hidden" name="latitude" value="[% latitude | html %]">
- <input type="hidden" name="longitude" value="[% longitude | html %]">
-
- <p>
- [% IF pretty_pc %]
- [% tprintf( loc('Here are the types of local problem alerts for &lsquo;%s&rsquo;.'), pretty_pc ) %]
- [% END %]
- [% loc('Select which type of alert you\'d like and click the button for an RSS feed, or enter your email address to subscribe to an email alert.') %]
- </p>
-
- [% INCLUDE 'errors.html' %]
-
- <p>
- [% loc('The simplest alert is our geographic one:') %]
- </p>
-
- <p id="rss_local">
- <input type="radio" name="feed" id="[% rss_feed_id %]" value="[% rss_feed_id %]"[% IF rss_feed_id == selected_feed || selected_feed == '' %] checked[% END %]>
- <label class="inline" for="[% rss_feed_id %]">[% tprintf( loc('Problems within %.1fkm of this location'), population_radius ) %]</label>
- <a href='[% rss_feed_uri %]'><img src='/i/feed.png' width='16' height='16' title='[% loc('RSS feed of nearby problems') %]' alt='[% loc('RSS feed') %]' border='0'></a>
- <br />
- [% loc('(a default distance which covers roughly 200,000 people)') %]
- </p>
-
- <p id="rss_local_alt">
- [% loc('(alternatively the RSS feed can be customised, within') %]
- <a href="[% rss_feed_2k %]">2km</a> / <a href="[% rss_feed_5k %]">5km</a> / <a href="[% rss_feed_10k %]">10km</a> / <a href="[% rss_feed_20k %]">20km</a>)
- </p>
-
- <p>
- [% IF c.cobrand.is_council %]
- Or you can subscribe to an alert for all council problems or one based upon what ward you&rsquo;re in:
- [% ELSE %]
- [% loc("Or you can subscribe to an alert based upon what ward or council you&rsquo;re in:") %]
- [% END %]
- </p>
-
- [% IF reported_to_options %]
- <p><strong>
- [% loc('Problems within the boundary of:') %]
- </strong></p>
- <ul class="plain-list">
- [% ELSE %]
- <ul id="rss_feed" class="plain-list">
- [% END %]
-
- [% FOREACH option IN options %]
- <li[% IF ! (loop.count % 2) %] class="a"[% END %]>
- <input type="radio" name="feed" id="[% option.id %]" value="[% option.id %]"[% IF option.id == selected_feed %] checked[% END %]>
- <a href="[% option.uri %]"><img src="/i/feed.png" width="16" height="16"
-title="[% option.rss_text %]" alt="RSS feed" border="0"></a>
- <label class="inline" for="[% option.id %]">[% option.text %]</label>
- </li>
- [% END %]
-</ul>
- [% IF reported_to_options %]
- <p><strong>
- [% loc('Or problems reported to:') %]
- </strong></p>
- <ul class="plain-list">
- [% FOREACH option IN reported_to_options %]
- <li[% IF ! (loop.count % 2) %] class="a"[% END %]>
- <input type="radio" name="feed" id="[% option.id %]" value="[% option.id %]"[% IF option.id == selected_feed %] checked[% END %]>
- <a href="[% option.uri %]"><img src="/i/feed.png" width="16" height="16"
- title="[% option.rss_text %]" alt="RSS feed" border="0"></a>
- <label class="inline" for="[% option.id %]">[% option.text %]</label>
- </li>
- [% END %]
- </ul>
- <p><small>
- [% loc( 'FixMyStreet sends different categories of problem
-to the appropriate council, so problems within the boundary of a particular council
-might not match the problems sent to that council. For example, a graffiti report
-will be sent to the district council, so will appear in both of the district
-council&rsquo;s alerts, but will only appear in the "Within the boundary" alert
-for the county council.' ) %]
- </small></p>
- [% END %]
-
- <input id="alert_rss_button" class="green-btn" type="submit" name="rss" value="[% loc('Give me an RSS feed') %]">
-
- <p id="alert_or">
- [% loc('or') %]
- </p>
-
- [% UNLESS c.user_exists %]
- <label for="rznvy">[% loc('Your email') %]</label>
- <input type="text" id="rznvy" name="rznvy" value="[% rznvy | html %]">
- [% END %]
- <input id="alert_email_button" style="margin-top:1em;" class="green-btn" type="submit" name="alert" value="[% loc('Subscribe me to an email alert') %]">
-
View
9 templates/web/fixamingata/alert/list-ajax.html
@@ -1,9 +0,0 @@
-[% IF pretty_pc %]
- [%
- pretty_pc = pretty_pc | html | replace(' ', '&nbsp;');
- %]
-[% END %]
-
-<div id="alerts">
- [% INCLUDE 'alert/_list.html' %]
-</div>
View
32 templates/web/fixamingata/alert/updates.html
@@ -1,32 +0,0 @@
-[% title = loc('Local RSS feeds and email alerts') %]
-
-[% INCLUDE 'header.html', title => title %]
-
-
-[% INCLUDE 'errors.html' %]
-
-<p><a href="[% c.uri_for( '/rss', problem_id ) %]">
- <img src="/i/feed.png" width="16" height="16" title="[% loc('RSS feed') %]" alt="[% loc('RSS feed of updates to this problem' ) %]" border="0" style="float:right">
- </a>
-</p>
-
-<p>
-[% loc('Receive email when updates are left on this problem.') %]
-</p>
-
-<form action="/alert/subscribe" method="post">
- <fieldset>
- <label class="hidden n" for="alert_rznvy">[% loc('Your email') %]</label>
-
- <div class="form-txt-submit-box">
- <input type="email" name="rznvy" id="alert_rznvy" value="[% email | html %]" placeholder="[% loc('Your email') %]">
- <input class="green-btn" type="submit" value="[% loc('Subscribe') %]">
- </div>
-
- <input type="hidden" name="id" value="[% problem_id | html %]">
- <input type="hidden" name="type" value="updates">
- </fieldset>
-</form>
-
-
-[% INCLUDE 'footer.html' %]
View
31 templates/web/fixamingata/around/around_index.html
@@ -1,31 +0,0 @@
-[% pre_container_extra = INCLUDE 'around/postcode_form.html' %]
-[% INCLUDE 'header.html', title = loc('Reporting a problem'), bodyclass = 'frontpage fullwidthpage' %]
-
-[%
- # NOTE ON PARTIAL REPORTS:
- #
- # partial reports get a bit of extra text added, the form goes to
- # '/report/new' and the partial hidden field is added to the form.
-%]
-
-[% IF location_error %]
- <p class="form-error">[% location_error %]</p>
-[% END %]
-
-[% IF possible_location_matches %]
- <p>[% loc('We found more than one match for that location. We show up to ten matches, please try a different search if yours is not here.') %]</p>
- <ul class="pc_alternatives">
- [% FOREACH match IN possible_location_matches %]
- <li><a href="/around?latitude=[% match.latitude | uri %];longitude=[% match.longitude | uri %]">[% match.address | html %]</a></li>
- [% END %]
- </ul>
-[% END %]
-
-[% IF partial_token %]
- <p style="margin-top: 0; color: #cc0000;">
- <img align="right" src="/photo/[% partial_report.id %].jpeg" hspace="5">
- [% loc("Thanks for uploading your photo. We now need to locate your problem, so please enter a nearby street name or postcode in the box above&nbsp;:") %]
- </p>
-[% END %]
-
-[% INCLUDE 'footer.html' %]
View
9 templates/web/fixamingata/around/around_map_list_items.html
@@ -1,9 +0,0 @@
-[% IF around_map.size %]
- [% FOREACH p IN around_map %]
- [% INCLUDE 'report/_item.html'
- problem = p.problem,
- dist = tprintf("%.1f", (p.distance || 0) ) %]
- [% END %]
-[% ELSE %]
- <li><p>[% loc('No problems found.') %]</p></li>
-[% END %]
View
118 templates/web/fixamingata/around/display_location.html
@@ -1,118 +0,0 @@
-[%
-
- rss_alt = loc('RSS feed');
- rss_title = loc('RSS feed of recent local problems');
-
- rss_url
- = pc
- ? c.uri_for( "/rss/pc", pc )
- : c.uri_for( "/rss/l/$short_latitude,$short_longitude" );
-
- email_url = c.uri_for(
- '/alert/list',
- {
- lat => short_latitude,
- lon => short_longitude,
- feed => "local:$short_latitude:$short_longitude",
- }
- );
-
- url_skip = c.uri_for(
- '/report/new',
- {
- pc => pc
- latitude => short_latitude,
- longitude => short_longitude,
- skipped => 1,
- }
- );
-
- PROCESS "maps/${map.type}.html";
-
- INCLUDE 'header.html',
- title => loc('Viewing a location')
- rss => [ loc('Recent local problems, FixMyStreet'), rss_url ],
- bodyclass => 'mappage',
- robots => 'noindex,nofollow';
-
- allow_creation = !c.cobrand.only_authed_can_create || (c.user && c.user.from_council);
-%]
-
-[% IF allow_creation %]
-<form action="[% c.uri_for('/report/new') %]" method="post" name="mapForm" id="mapForm" enctype="multipart/form-data" class="validate">
- [% IF c.req.params.map_override %]
- <input type="hidden" name="map_override" value="[% c.req.params.map_override | html %]">
- [% END %]
- <input type="hidden" name="pc" value="[% pc | html %]">
-
- <input type="hidden" name="latitude" id="fixmystreet.latitude" value="[% short_latitude | html %]">
- <input type="hidden" name="longitude" id="fixmystreet.longitude" value="[% short_longitude | html %]">
-[% END %]
-
- [% map_html %]
-
- <p id='sub_map_links'>
- [% IF c.req.params.no_pins %]
- <a id='hide_pins_link' rel='nofollow' href='[% c.uri_with( { no_pins => 0 } ) %]'>[% loc('Show pins') %]</a>
- [% ELSE %]
- <a id='hide_pins_link' rel='nofollow' href='[% c.uri_with( { no_pins => 1 } ) %]'>[% loc('Hide pins') %]</a>
- [% END %]
- [% IF c.cobrand.country == 'GB' || c.cobrand.country == 'NO' %]
- [% IF c.req.params.all_pins %]
- <a id='all_pins_link' rel='nofollow' href='[% c.uri_with( { no_pins => undef, all_pins => undef } ) %]'>[% loc('Hide old') %]</a>
- [% ELSE %]
- <a id='all_pins_link' rel='nofollow' href='[% c.uri_with( { no_pins => undef, all_pins => 1 } ) %]'>[% loc('Show old') %]</a>
- [% END %]
- [% END %]
- </p>
-
- </div>
-
-
-
-
- <div id="side">
-
- [% IF allow_creation %]
- <h1 class="big-green-banner">
- [% loc( 'Click map to report a problem' ) %]
- [% IF c.cobrand.moniker == 'bromley' %]
- <span>Yellow pins show existing reports</span>
- [% END %]
- </h1>
- <p id="skip-this-step">
- [%
- tprintf(
- loc("Can't see the map? <a href='%s' rel='nofollow'>Skip this step</a>"),
- url_skip
- )
- %]
- </p>
- [% END %]
-
- <div class="shadow-wrap">
- <ul id="key-tools" class="singleton">
- <li><a class="feed" id="key-tool-around-updates" href="[% email_url | html %]">[% loc("Get updates") %]</a></li>
- </ul>
- </div>
-
- <section class="full-width">
- [% INCLUDE "around/tabbed_lists.html" %]
- </section>
- </div>
-
- [% IF allow_creation %]
- <div style="display:none" id="side-form">
- [% INCLUDE "report/new/fill_in_details_form.html"
- js = 1,
- report.used_map = 1
- report.name = c.user.name
- %]
- </div>
- [% END %]
-
-[% IF allow_creation %]
-</form>
-[% END %]
-
-[% INCLUDE 'footer.html' %]
View
7 templates/web/fixamingata/around/on_map_list_items.html
@@ -1,7 +0,0 @@
-[% IF on_map.size %]
- [% FOREACH problem IN on_map %]
- [% INCLUDE 'report/_item.html' %]
- [% END %]
-[% ELSE %]
- <li><p>[% loc('No problems have been reported yet.') %]</p></li>
-[% END %]
View
34 templates/web/fixamingata/around/postcode_form.html
@@ -1,34 +0,0 @@
-<div id="front-main">
- <div id="front-main-container">
- [% IF c.cobrand.moniker == 'bromley' %]
- <h1 class="main mob-only">Reporting a problem in Bromley&rsquo;s streets or parks</h1>
- [% ELSIF c.cobrand.moniker == 'fixmybarangay' %]
- <h1>View local problems</h1>
- <h2>(potholes or street lighting)</h2>
- [% ELSE %]
- <h1>[% loc('Report, view, or discuss local problems') %]</h1>
- <h2>[% loc('(like graffiti, fly tipping, broken paving slabs, or street lighting)') %]</h2>
- [% END %]
-
- [%
- question = c.cobrand.enter_postcode_text || loc('Enter a nearby street name and area');
- %]
-
- [% IF c.cobrand.moniker == 'fixmybarangay' %]
- [% INCLUDE '_barangay_buttons.html' %]
- [% ELSE %]
- <form action="[% c.uri_for('/around') %]" method="get" name="postcodeForm" id="postcodeForm">
- <label for="pc">[% question %]:</label>
- <div>
- <input type="text" name="pc" value="[% pc | html %]" id="pc" size="10" maxlength="200" placeholder="[% tprintf(loc('e.g. ‘%s’ or ‘%s’'), c.cobrand.example_places) %]">
- <input type="submit" value="[% loc('Go') %]" id="submit">
- </div>
-
- [% IF partial_token %]
- <input type="hidden" name="partial" value="[% partial_token.token %]">
- [% END %]
-
- </form>
- [% END %]
- </div>
-</div>
View
14 templates/web/fixamingata/around/tabbed_lists.html
@@ -1,14 +0,0 @@
-<menu id="problems-nav" class="tab-nav">
- <ul>
- <li><a href="#current">[% loc('Problems on the map') %]</a></li>
- <li><a href="#current_near">[% loc( 'Problems nearby' ) %]</a></li>
- </ul>
-</menu>
-
-<ul id="current" class="issue-list-a tab">
- [% INCLUDE "around/on_map_list_items.html" %]
-</ul>
-
-<ul id="current_near" class="issue-list-a tab">
- [% INCLUDE "around/around_map_list_items.html" %]
-</ul>
View
100 templates/web/fixamingata/contact/index.html
@@ -1,100 +0,0 @@
-[% INCLUDE 'header.html',
- title = loc('Contact Us')
- robots = 'noindex,nofollow'
- bodyclass => 'twothirdswidthpage'
-%]
-
-<h1>[% loc('Contact the team') %]</h1>
-
-<form method="post" action="/contact/submit" class="validate">
- <fieldset>
- [% INCLUDE 'errors.html' %]
-
- [% IF update %]
-
- <p>
- [% loc('You are reporting the following update for being abusive, containing personal information, or similar:') %]
- </p>
-
- <blockquote>
- <p>
- [% IF update.anonymous %]
- [% tprintf( loc('Update below added anonymously at %s'), prettify_epoch( update.confirmed_local.epoch ) ) %]
- [% ELSE %]
- [% tprintf( loc('Update below added by %s at %s'), update.name, prettify_epoch( update.confirmed_local.epoch ) ) | html %]
- [% END %]
- </p>
-
- <p>
- [% update.text | html %]
- </p>
-
- </blockquote>
- <input type="hidden" name="update_id" value="[% update.id %]">
- <input type="hidden" name="id" value="[% update.problem_id %]">
-
- [% ELSIF problem %]
- <p>
- [% loc('You are reporting the following problem report for being abusive, containing personal information, or similar:') %]
- </p>
-
- <blockquote>
- <h2>[% problem.title | html %]</h2>
-
- <p>
- [% IF problem.anonymous %]
- [% tprintf( loc('Reported anonymously at %s'), prettify_epoch( problem.confirmed_local.epoch ) ) %]
- [% ELSE %]
- [% tprintf( loc('Reported by %s at %s'), problem.user.name, prettify_epoch( problem.confirmed_local.epoch ) ) | html %]
- [% END %]
- </p>
-
- <p>
- [% problem.detail | html %]
- </p>
-
- </blockquote>
- <input type="hidden" name="id" value="[% problem.id %]">
-
- [% ELSE %]
-
- [% INCLUDE 'contact/blurb.html' %]
-
- [% END %]
-
- <label for="form_name">[% loc('Your name') %]</label>
- [% IF field_errors.name %]
- <div class="form-error">[% field_errors.name %]</div>
- [% END %]
- <input type="text" class="required" name="name" id="form_name" value="[% form_name | html %]" size="30">
-
-
- <label for="form_email">[% loc('Your email') %]</label>
- [% IF field_errors.em %]
- <div class="form-error">[% field_errors.em %]</div>
- [% END %]
- <input type="text" class="required email" name="em" id="form_email" value="[% em | html %]" size="30">
-
-
- <label for="form_subject">[% loc('Subject') %]</label>
- [% IF field_errors.subject %]
- <div class="form-error">[% field_errors.subject %]</div>
- [% END %]
- <input type="text" class="required" name="subject" id="form_subject" value="[% subject | html %]" size="30">
-
-
- <label for="form_message">[% loc('Message') %]</label>
- [% IF field_errors.message %]
- <div class="form-error">[% field_errors.message %]</div>
- [% END %]
- <textarea class="required" name="message" id="form_message" rows="7" cols="50">[% message | html %]</textarea>
-
-
- <input class="final-submit green-btn" type="submit" value="[% loc('Post') %]">
-
- </fieldset>
-</form>
-
-[% TRY %][% INCLUDE 'contact/address.html' %][% CATCH file %][% END %]
-
-[% INCLUDE 'footer.html' pagefooter = 'yes' %]
View
194 templates/web/fixamingata/faq/faq-en-gb.html
@@ -1,194 +0,0 @@
-[% INCLUDE 'header.html', title => loc('Frequently Asked Questions'), bodyclass => 'twothirdswidthpage' %]
-
-<div class="sticky-sidebar">
- <aside>
- <ul class="plain-list">
- <li><a href="#faq">Frequently Asked Questions</a></li>
- <li><a href="#practical">Practical Questions</a></li>
- <li><a href="#organisation">Organisation Questions</a></li>
- <li><a href="/privacy">Privacy and cookies</a></li>
- </ul>
- </aside>
-</div>
-
-<h1><a name="faq"></a>Frequently Asked Questions</h1>
- <dl>
- <dt>What is FixMyStreet?</dt>
- <dd>FixMyStreet is a site to help people report, view,
-or discuss local problems they&rsquo;ve found to their local council by
-simply locating them on a map. It launched in early February
-2007.</dd>
- <dt>How do I get in touch with FixMyStreet?</dt>
- <dd>Here&rsquo;s our <a href="/contact">contact page</a>.</dd>
- <dt>What sort of problems should I report with FixMyStreet?</dt>
- <dd>FixMyStreet is primarily for reporting things which are
-<strong>broken or dirty or damaged or dumped, and need fixing, cleaning
-or clearing</strong>, such as:
-
- <ul><li>Abandoned vehicles
- <li>Dog Fouling
- <li>Flyposting or graffiti
- <li>Flytipping or litter
- <li>Streetcleaning, such as broken glass in a cycle lane
- [% IF c.cobrand.moniker != 'southampton' %]
- <li>Unlit lamposts
- [% END %]
- <li>Potholes
- </ul>
- </dd>
-
- <dt>What isn&rsquo;t FixMyStreet for?</dt>
- <dd>FixMyStreet is not a way of getting in touch with [% c.cobrand.is_council ? 'the' : 'your' %] council for all
- issues &ndash; please use FixMyStreet only for problems such as the above. We
- often route problem reports via cleansing services or highways and so using
- FixMyStreet for other matters may result in a delay in your report getting
- to the right department. <strong>You will need to contact [% c.cobrand.is_council ? 'the' : 'your' %] council
- directly for problems such as</strong>:
-
- <ul><li>Anti-social behaviour
- <li>Any urgent or emergency problems
- <li>Noise pollution or barking dogs
- <li>Fires and smoke/smell pollution
- <li>Missing wheelie bins or recycling boxes or missed rubbish collections
- <li>Proposals for speed bumps/ CCTV/ pedestrian crossings/ new road layouts/ etc.
- <li>Complaining about your neighbours
- <li>Complaining about the council
- <li>Joy riding, drug taking, animal cruelty, or other criminal activity
- </ul>
- <p>Councils often have direct hotlines for these sorts of issues.</p>
- </dd>
-
- <dt>How do I use the site?</dt>
- <dd>After entering a postcode or location, you are presented
-with a map of that area. You can view problems already reported in that area,
-or report ones of your own simply by clicking on the map at the location of
-the problem.</dd>
- <dt>How are the problems solved?</dt>
- <dd>They are reported to the [% IF !c.cobrand.is_council %]relevant[% END %] council by email. The
-council can then resolve the problem the way they normally would.
-Alternatively, you can discuss the problem on the website with others[% IF c.cobrand.moniker != 'southampton' %], and
-then together lobby the council to fix it, or fix it directly yourselves[% END %].</dd>
- <dt>Is it free?</dt>
- <dd>The site is free to use, yes. FixMyStreet is run
-by a registered charity, though, so if you want to make a contribution, <a
-href="https://secure.mysociety.org/donate/">please do</a>.</dd>
-
- <dt>Can I use FixMyStreet on my mobile?</dt>
- <dd>
- <p>The FixMyStreet website should work on your mobile phone, adapting to
- the size of your screen automatically. We plan to release updated native
- apps in the near future.
- <ul>
- <li><em>iPhone:</em> Our basic app from 2008 is available for download
- on the App Store:
- <a href="http://itunes.apple.com/gb/app/fixmystreet/id297456545">FixMyStreet</a>,
- <li><em>Android:</em> A volunteer, Anna Powell-Smith, has written an app
- available from the
- <a href="https://market.android.com/details?id=com.android.fixmystreet">Android Market</a>.
- <li><em>Nokia:</em> A volunteer, Thomas Forth, has written an app available from the
- <a href="http://store.ovi.com/content/107557">Ovi Store</a>.
- </ul>
- </dd>
-
- </dl>
-
- <h2><a name="practical"></a>Practical Questions</h2>
- <dl>
- <dt>I&rsquo;m from a council, where do you send the reports?</dt>
- <dd>You can either leave a test report or <a href="/contact">contact us</a>
-to find out where reports go at the moment. Also <a href="/contact">contact us</a>
-to update the address or addresses we use.</dd>
- <dt>I&rsquo;m from a council, can we have FixMyStreet on our website?</dt>
- <dd>Yes you can! We offer branded, hosted versions of FixMyStreet for local council websites. <a href="http://www.mysociety.org/for-councils/fixmystreet/">Full details</a>.</dd>
- <dt>Do you remove silly or illegal content?</dt>
- <dd>FixMyStreet is not responsible for the content and accuracy
-of material submitted by its users. We reserve the right to edit or remove any
-problems or updates which we consider to be inappropriate upon being informed
-by a user of the site.</dd>
- <dt>Why does the site use kilometres for measurements?</dt>
- <dd>Thanks for asking politely &ndash; we never quite understand why some of the rudest
- emails we receive are on this topic. The British national
- grid reference system, devised by Ordnance Survey (the British national
- mapping agency) around the time of the second world war, uses eastings and
- northings measured in metres and kilometres; the maps we use are from
- Ordnance Survey and so this is what we use to display distances.
- There you have it: not everything British is in miles!</dd>
-
- <dt>Why can&rsquo;t I zoom out more on the reporting map?</dt>
- <dd>We want to keep FixMyStreet locally focused, so restrict the ability to
- move radically between areas. The map on Your Reports will let you see all
- the reports you&rsquo;ve made, wherever they are. If you&rsquo;re from the
- council then the emailed version of the problem report also contains the
- closest road and postcode to the pin on the map.</dd>
-
- <dt>This site is great – why aren&rsquo;t you better publicised?</dt>
- <dd>As a tiny charity we simply don&rsquo;t have a publicity budget, and we
- rely on word of mouth to advertise the site. We have a whole <a
- href="posters/">array of posters, flyers and badges</a> if you&rsquo;d like
- to publicise us on the web or in your local area, and why not write to your
- local paper to let them know about us?</dd> </dl>
-
- <h2><a name="organisation"></a>Organisation Questions</h2>
- <dl>
- <dt>Who built FixMyStreet?</dt>
- <dd>This site was built by <a href="http://www.mysociety.org/">mySociety</a>,
- in conjunction with the <a href="http://www.youngfoundation.org.uk/">Young Foundation</a>.
-mySociety is the project of a registered charity which has grown out of the community of
-volunteers who built sites like <a href="http://www.theyworkforyou.com/">TheyWorkForYou.com</a>.
-mySociety&rsquo;s primary mission is to build Internet projects which give people simple, tangible
-benefits in the civic and community aspects of their lives. Our first project
-was <a href="http://www.writetothem.com/">WriteToThem</a>, where you can write to any of your
-elected representatives, for free. The charity is called UK Citizens Online Democracy and is charity number 1076346. mySociety
-can be contacted by email at <a href="mailto:hello&#64;mysociety.org">hello&#64;mysociety.org</a>,
-or by post at mySociety, 483 Green Lanes, London, N13 4BS, UK.</dd>
- <dt><img src="/i/moj.png" align="right" alt="Ministry of Justice" hspace="10">Who pays for it?</dt>
- <dd>FixMyStreet was originally paid for via the Department for
- Constitutional Affairs Innovations Fund. It is now funded by a variety of means, from commercial
- work to <a href="http://www.mysociety.org/donate/">donations</a>.</dd>
- <dt><a name="nfi"></a>Wasn&rsquo;t this site called Neighbourhood Fix-It?</dt>
- <dd>Yes, we changed the name mid June 2007. We decided
-Neighbourhood Fix-It was a bit of a mouthful, hard to spell, and hard to publicise (does the URL have a dash in it or not?). The domain FixMyStreet became available, and everyone liked the name.</dd>
- <dt>Do you need any help with the project?</dt>
- <dd>Yes, we can use help in all sorts of ways, technical or
-non-technical. Please see our <a
-href="http://www.mysociety.org/helpus/">Get Involved page</a>.</dd>
- <dt>I&rsquo;d like a site like this for my own location/ where&rsquo;s the "source code" to this site?</dt>
- <dd>
-The software behind this site is open source, and available
-to you mainly under the GNU Affero GPL software license. You can <a
-href="http://github.com/mysociety/fixmystreet">download the
-source code</a> and help us develop it.
-You&rsquo;re welcome to use it in your own projects, although you must also
-make available the source code to any such projects.
-<a href="http://www.fiksgatami.no/">Fiksgatami</a> is an example of our code
-being used in a Norwegian version of this site.
-</dd>
-<dt>I&rsquo;d prefer code in a different language?</dt>
-<dd>
-VisibleGovernment.ca wrote their own code for
-<a href="http://www.fixmystreet.ca/">http://www.fixmystreet.ca/</a>, which is
-written in GeoDjango and available under an MIT licence at <a
-href="http://github.com/visiblegovernment/django-fixmystreet/tree/master">github</a>.
-Or <a href="http://www.fixmystreet.org.nz/">FixMyStreet.org.nz</a> is written in
-Drupal.
-</p>
-</dd>
- <dt>People build things, not organisations. Who <em>actually</em> built it?</dt>
- <dd>Matthew Somerville and Francis Irving wrote the site,
-Chris Lightfoot wrote the tileserver and map cutter, Richard Pope created
-our pins, Deborah Kerr keeps things up-to-date and does user support,
-Ayesha Garrett designed our posters, and Tom Steinberg managed it all.
-
-Thanks also to
-<a href="http://www.ordnancesurvey.co.uk">Ordnance Survey</a> (for the maps,
-UK postcodes, and UK addresses &ndash; data &copy; Crown copyright, all
-rights reserved, Ministry of Justice 100037819&nbsp;2008),
-Yahoo! for their BSD-licensed JavaScript libraries, the entire free software
-community (this particular project was brought to you by Perl, PostgreSQL,
-and the number 161.290) and <a
-href="http://www.m247.com/">M247</a> (who kindly host all
-our servers).
-
-Let us know if we&rsquo;ve missed anyone.</dd>
- </dl>
-[% INCLUDE 'footer.html' pagefooter = 'yes' %]
View
11 templates/web/fixamingata/front/news.html
@@ -1,11 +0,0 @@
-[%#
- news = [
- { date = '2008-12-11', text = '<a href="">' _ loc('Get FixMyStreet on your iPhone') _ '</a>' },
- ]
-%]
-[% FOREACH item IN news %]
- <p align="center" style="margin-bottom:0">
- <img width="23" height="12" alt="[% loc('New!') %]" src="/i/new.png" border="0">[% item.date %] [% item.text %]</p>
- </p>
-[% END %]
-
View
74 templates/web/fixamingata/my/my.html
@@ -1,74 +0,0 @@
-[%
- PROCESS "maps/${map.type}.html" IF problems.size;
- INCLUDE 'header.html', title = loc('Your Reports'), bodyclass = 'mappage'
-%]
-
-[% IF problems.size %]
- [% map_html %]
- </div>
- <div id="side">
-[% ELSE %]
- <div id="skipped-map">
-[% END %]
-
-<h1>[% loc('Your Reports') %]</h1>
-
-[% IF c.cobrand.moniker == 'fixmybarangay' %]
- [% INCLUDE '_barangay_buttons.html' %]
-[% END %]
-
-[% INCLUDE 'pagination.html',
- pager = problems_pager,
- param = 'p'
-%]
-
-[% FOREACH p = problems.confirmed %]
- [% IF loop.first %]<h2>[% loc('Open reports') %]</h2>[% END %]
- [% INCLUDE problem %]
-[% END %]
-
-[% FOREACH p = problems.fixed %]
- [% IF loop.first %]<h2>[% loc('Fixed reports') %]</h2>[% END %]
- [% INCLUDE problem %]
-[% END %]
-
-[% FOREACH p = problems.closed %]
- [% IF loop.first %]<h2>[% loc('Closed reports') %]</h2>[% END %]
- [% INCLUDE problem %]
-[% END %]
-
-[%# FOREACH p = problems.unconfirmed;
- IF loop.first;
- '<h2>' _ loc('Unconfirmed reports') _ '</h2>';
- END;
- INCLUDE problem;
-END %]
-
-[% FOREACH u IN updates %]
- [% IF loop.first %]
- <h2>[% loc('Your updates') %]</h2>
- [% INCLUDE 'pagination.html',
- pager = updates_pager,
- param = 'u'
- %]
- <ul class="issue-list full-width">
- [% END %]
-
- <li>&ldquo;[% u.text | html %]&rdquo;
- &ndash; <a href="[% c.uri_for( '/report', u.problem_id ) %]#update_[% u.id %]">[% u.problem.title | html %]</a>.
- <p><small class="council_sent_info">
- [% tprintf( loc("Added %s"), prettify_epoch( u.confirmed_local.epoch, 'date' ) ) %]
- </small></p>
- </li>
- [% "</ul>" IF loop.last %]
-[% END %]
-
-</div>
-
-[% INCLUDE 'footer.html' %]
-
-[% BLOCK problem %]
- [% "<ul class='issue-list-a full-width'>" IF loop.first %]
- [% INCLUDE 'report/_item.html', problem = p, no_fixed =1 %]
- [% "</ul>" IF loop.last %]
-[% END %]
View
15 templates/web/fixamingata/pagination.html
@@ -1,15 +0,0 @@
-[% IF pager.last_page > 1 %]
-<section class="full-width">
- <p class="pagination">
- [% IF pager.previous_page %]
- <a class="prev" href="[% c.req.uri_with({ $param => pager.previous_page }) %]">Previous</a>
- [% END %]
-
- [% pager.first %] to [% pager.last %] of [% pager.total_entries %]
-
- [% IF pager.next_page %]
- <a class="next" href="[% c.req.uri_with({ $param => pager.next_page }) %]">Next</a>
- [% END %]
- </p>
-</section>
-[% END %]
View
6 templates/web/fixamingata/questionnaire/completed-open.html
@@ -1,6 +0,0 @@
-[% loc('<p style="font-size:150%">We&rsquo;re sorry to hear that. We have two
-suggestions: why not try <a href="http://www.writetothem.com/">writing direct
-to your councillor(s)</a> or, if it&rsquo;s a problem that could be fixed by
-local people working together, why not
-<a href="http://www.pledgebank.com/new">make and publicise a pledge</a>?
-</p>' ) %]
View
109 templates/web/fixamingata/questionnaire/index.html
@@ -1,109 +0,0 @@
-[%
- PROCESS "report/photo-js.html";
- PROCESS "maps/${map.type}.html";
- INCLUDE 'header.html', title = loc('Questionnaire'), bodyclass = 'mappage'
-%]
-
-[% map_html %]
-
-</div>
-<div id="side">
-
- <menu id="problems-nav" class="tab-nav">
- <ul>
- <li><a id="questionnaire_tab" href="#questionnaire">[% loc('Questionnaire') %]</a></li>
- <li><a id="report_tab" href="#report">[% loc( 'Your report' ) %]</a></li>
- </ul>
- </menu>
-
- <div id="questionnaire" class="issue-list-a tab">
- [% INCLUDE questionnaire_form %]
- </div>
-
- <div id="report" class="issue-list-a tab">
- [% INCLUDE 'report/_main.html' %]
- [% INCLUDE 'report/updates.html' %]
- </div>
-</div>
-
-[% INCLUDE 'footer.html' %]
-
-[% BLOCK questionnaire_form %]
-<h1>[% loc('Questionnaire') %]</h1>
-
-<form method="post" action="/questionnaire/submit" id="questionnaire"
-[%- IF c.cobrand.allow_photo_upload -%]
- enctype="multipart/form-data"
-[%- END -%]
->
-
-<input type="hidden" name="token" value="[% token | html %]">
-
-<p>
-[% loc('The details of your problem are available from the other tab above.') %]
-[% loc('Please <a class="tab_link" href="#report">take a look</a> at the updates that have been left.') IF updates %]
-</p>
-
-[% IF errors %]
-<ul class="error">
-<li>[% errors.join("</li>\n<li>") %]</li>
-</ul>
-[% END %]
-
-<p>
-[% loc('An update marked this problem as fixed.') IF problem.is_fixed %]
-[% loc('Has this problem been fixed?') %]
-</p>
-
-<p>
-<input type="radio" name="been_fixed" id="been_fixed_yes" value="Yes"[% ' checked' IF been_fixed == 'Yes' %]>
-<label class="inline" for="been_fixed_yes">[% loc('Yes') %]</label>
-<input type="radio" name="been_fixed" id="been_fixed_no" value="No"[% ' checked' IF been_fixed == 'No' %]>
-<label class="inline" for="been_fixed_no">[% loc('No') %]</label>
-<input type="radio" name="been_fixed" id="been_fixed_unknown" value="Unknown"[% ' checked' IF been_fixed == 'Unknown' %]>
-<label class="inline" for="been_fixed_unknown">[% loc('Don&rsquo;t know') %]</label>
-</p>
-
-[% UNLESS answered_ever_reported %]
-<p>[% loc('Have you ever reported a problem to a council before, or is this your first time?') %]</p>
-<p>
-<input type="radio" name="reported" id="reported_yes" value="Yes"[% ' checked' IF reported == 'Yes' %]>
-<label class="inline" for="reported_yes">[% loc('Reported before') %]</label>
-<input type="radio" name="reported" id="reported_no" value="No"[% ' checked' IF reported == 'No' %]>
-<label class="inline" for="reported_no">[% loc('First time') %]</label>
-</p>
-[% END %]
-
-<p>[% loc('If you wish to leave a public update on the problem, please enter it here
-(please note it will not be sent to the council). For example, what was
-your experience of getting the problem fixed?') %]</p>
-
-<p><textarea name="update" style="max-width:90%" rows="7" cols="30">[% update | html %]</textarea></p>
-
-[% IF c.cobrand.allow_photo_upload %]
-<div id="fileupload_normalUI">
- [% IF upload_fileid %]
- <img align="right" src="/photo/[% upload_fileid %].temp.jpeg" alt="">
- <p>[% loc('You have already attached a photo to this report, attaching another one will replace it.') %]</p>
- <input type="hidden" name="upload_fileid" value="[% upload_fileid %]">
- [% END %]
- <label for="form_photo">[% loc('Photo:') %]</label>
- <input type="file" name="photo" id="form_photo">
-</div>
-[% END %]
-
-<div id="another_qn">
- <p>[% loc('Would you like to receive another questionnaire in 4 weeks, reminding you to check the status?') %]</p>
- <p>
- <input type="radio" name="another" id="another_yes" value="Yes"[% ' checked' IF another == 'Yes' %]>
- <label class="inline" for="another_yes">[% loc('Yes') %]</label>
- <input type="radio" name="another" id="another_no" value="No"[% ' checked' IF another == 'No' %]>
- <label class="inline" for="another_no">[% loc('No') %]</label>
- </p>
-</div>
-
-<p><input type="submit" name="submit" value="[% loc('Submit questionnaire') %]"></p>
-
-</form>
-[% END %]
-
View
21 templates/web/fixamingata/report/_main.html
@@ -1,21 +0,0 @@
-<div class="problem-header cf">
- <h1>[% problem.title | html %]</h1>
-
- <p><em>
- [% problem.meta_line(c) | html %]
- [% IF problem.council %]
- [% IF problem.whensent || problem.can_display_external_id %]
- <small class="council_sent_info"><br>
- [% problem.processed_summary_string(c) %]
- </small>
- [% END %]
- [% ELSE %]
- <br><small>[% loc('Not reported to council') %]</small>
- [% END %]
- </em></p>
- [% INCLUDE 'report/_support.html' %]
- [% INCLUDE 'report/photo.html' object=problem center=1 %]
-
- [% add_links( problem.detail ) | html_para %]
-
-</div>
View
11 templates/web/fixamingata/report/_support.html
@@ -1,11 +0,0 @@
-[% IF c.cobrand.can_support_problems %]
-<p id="supporter"><small>
- [% IF !problem.interest_count %][% text=loc('No supporters') %][% ELSIF problem.interest_count == 1 %][% text = loc('1 supporter') %][% ELSE %][% text = tprintf( loc('%d supporters' ), problem.interest_count ) %][% END %]
- [% IF c.user && c.user.from_council %]<form action="[% c.uri_for( '/report/support' ) %]">
- [% text %] <input type="hidden" name="id" value="[% problem.id %]"><input type="submit" class="green-btn" value="Add support">
- </form>
- [% ELSE %]
- [% text %]
- [% END %]
-</small></p>
-[% END %]
View
21 templates/web/fixamingata/report/banner.html
@@ -1,21 +0,0 @@
-[% USE date %]
-[% BLOCK banner %]
- <div class="banner">
- <p id="[% id %]">[% text %]</p>
- </div>
-[% END %]
-
-[% IF problem.is_open AND date.now - problem.lastupdate_local.epoch > 8 * 7 * 24 * 60 * 60 %]
- [% INCLUDE banner, id = 'unknown', text = loc('Unknown') %]
-[% END %]
-[% IF problem.is_fixed %]
- [% INCLUDE banner, id = 'fixed', text = loc('Fixed') %]
-[% END %]
-[% IF problem.is_closed %]
- [% INCLUDE banner, id = 'closed', text = loc('Closed') %]
-[% END %]
-[% states = [ 'investigating', 'in progress', 'planned' ];
- IF states.grep(problem.state).size %]
- [% INCLUDE banner, id = 'progress', text = loc('In progress') %]
-[% END %]
-
View
196 templates/web/fixamingata/report/display.html
@@ -1,196 +0,0 @@
-[%
- PROCESS "report/photo-js.html";
- PROCESS "maps/${map.type}.html";
-
- problem_title = problem.title _ ' - ' _ loc('Viewing a problem');
- INCLUDE 'header.html'
- title = problem_title
- rss = [ loc('Updates to this problem, FixMyStreet'), "/rss/$problem.id" ]
- robots = 'index, nofollow'
- bodyclass = 'mappage';
-
- allow_creation = !c.cobrand.only_authed_can_create || (c.user && c.user.from_council);
-%]
-
-[% map_html %]
-
-</div>
-
-[% INCLUDE 'report/banner.html' %]
-
-[% INCLUDE 'report/_main.html' %]
-[% TRY %][% INCLUDE 'report/_message_manager.html' %][% CATCH file %][% END %]
-
-<div class="shadow-wrap">
- <ul id="key-tools">
- <li><a rel="nofollow" id="key-tool-report-abuse" class="abuse" href="[% c.uri_for( '/contact', { id => problem.id } ) %]">[% loc('Report abuse' ) %]</a></li>
- <li><a rel="nofollow" id="key-tool-report-updates" class="feed" href="[% c.uri_for( '/alert/subscribe', { id => problem.id } ) %]">[% loc('Get updates' ) %]</a></li>
- <li><a class="chevron" id="key-tool-problems-nearby" href="[% c.uri_for( '/around', { lat => short_latitude, lon => short_longitude } ) %]">[% loc( 'Problems nearby' ) %]</a></li>
- </ul>
-
-<div id="report-updates-data" class="hidden-js">
- <form action="[% c.uri_for( '/alert/subscribe' ) %]" method="post">
- <p><a href="[% c.uri_for( '/rss', problem.id ) %]">
- <img src="/i/feed.png" width="16" height="16" title="[% loc('RSS feed') %]" alt="[% loc('RSS feed of updates to this problem' ) %]" border="0" style="float: right">
- </a></p>
- <p>[% loc('Receive email when updates are left on this problem.' ) %]</p>
- <fieldset>
- <label class="hidden n" for="alert_rznvy">[% loc('Your email') %]</label>
- <div class="form-txt-submit-box">
- <input type="email" name="rznvy" id="alert_rznvy" value="[% email | html %]" size="30" placeholder="[% loc('Your email') %]">
- <input class="green-btn" type="submit" value="[% loc('Subscribe') %]">
- </div>
- <input type="hidden" name="id" value="[% problem.id %]">
- <input type="hidden" name="type" value="updates">
- </fieldset>
- </form>
-</div>
-
-</div>
-
-[% INCLUDE 'report/updates.html' %]
-
-[% IF allow_creation %]
-<div id="update_form">
- <h2>[% loc( 'Provide an update') %]</h2>
-
- [% IF c.cobrand.moniker != 'emptyhomes' %]
- <div class="general-sidebar-notes">
- [% INCLUDE 'report/updates-sidebar-notes.html' %]
- </div>
- [% END %]
-
- [% INCLUDE 'errors.html' %]
-
- <form method="post" action="[% c.uri_for( '/report/update' ) %]" id="form_update_form" name="updateForm" class="validate"[% IF c.cobrand.allow_photo_upload %] enctype="multipart/form-data"[% END %]>
- <fieldset>
- <input type="hidden" name="submit_update" value="1">
- <input type="hidden" name="id" value="[% problem.id | html %]">
-
- <label for="form_update">[% loc( 'Update' ) %]</label>
- [% IF field_errors.update %]
- <div class='form-error'>[% field_errors.update %]</div>
- [% END %]
- <textarea rows="7" cols="30" name="update" id="form_update" placeholder="[% loc('Please write your update here') %]" required>[% update.text | html %]</textarea>
-
- [% IF c.user && c.user.belongs_to_council( problem.council ) %]
- <label for="form_state">[% loc( 'State' ) %]</label>
- <select name="state" id="form_state">
- [% FOREACH state IN [ ['confirmed', loc('Open')], ['investigating',
- loc('Investigating')], ['planned', loc('Planned')], ['in progress',
- loc('In Progress')], ['closed', loc('Closed')], ['fixed', loc('Fixed')] ] %]
- <option [% 'selected ' IF state.0 == problem.state %] value="[% state.0 %]">[% state.1 %]</option>
- [% END %]
- </select>
- [% ELSE %]
- [% IF problem.is_fixed AND c.user_exists AND c.user.id == problem.user_id %]
-
- <input type="checkbox" name="reopen" id="form_reopen" value="1"[% ' checked' IF update.mark_open %]>
- <label class="inline" for="form_reopen">[% loc('This problem has not been fixed') %]</label>
-
- [% ELSIF !problem.is_fixed %]
-
- <div class="checkbox-group">
- <input type="checkbox" name="fixed" id="form_fixed" value="1"[% ' checked' IF update.mark_fixed %]>
- <label class="inline" for="form_fixed">[% loc('This problem has been fixed') %]</label>
- </div>
-
- [% END %]
- [% END %]
-
- [% IF c.cobrand.allow_photo_upload %]
- <div id="fileupload_normalUI">
- [% IF upload_fileid %]
- <img align="right" src="/photo/[% upload_fileid %].temp.jpeg" alt="">
- <p>[% loc('You have already attached a photo to this update, attaching another one will replace it.') %]</p>
- <input type="hidden" name="upload_fileid" value="[% upload_fileid %]">
- [% END %]
- <label for="form_photo">[% loc('Photo') %]</label>
- [% IF field_errors.photo %]
- <p class='form-error'>[% field_errors.photo %]</p>
- [% END %]
- <input type="file" name="photo" id="form_photo">
- </div>
- [% END %]
-
- [% IF c.user_exists %]
-
- [% INCLUDE name %]
-
- <input class="final-submit green-btn" type="submit" id="update_post" value="[% loc('Post') %]">
-
-
- [% ELSE %]
-
- <label for="form_rznvy">[% loc('Email' ) %]</label>
- [% IF field_errors.email %]
- <p class='form-error'>[% field_errors.email %]</p>
- [% END %]
- <input type="email" name="rznvy" id="form_rznvy" value="[% update.user.email | html %]" placeholder="[% loc('Your email address' ) %]" required>
-
- <div id="form_sign_in">
- <h3>[% loc("Now to submit your update&hellip;") %]</h3>
- <h2>[% loc("Do you have a FixMyStreet password?") %]</h2>
-
- <div id="form_sign_in_yes" class="form-box">
- <h5>[% loc('<strong>Yes</strong> I have a password') %]</h5>
-
- <label class="hidden-js n" for="password_sign_in">[% loc('Yes I have a password') %]</label>
- [% IF field_errors.password %]
- <p class='form-error'>[% field_errors.password %]</p>
- [% END %]
- <div class="form-txt-submit-box">
- <input type="password" name="password_sign_in" id="password_sign_in" value="" placeholder="[% loc('Your password') %]">
- <input class="green-btn" type="submit" name="submit_sign_in" id="submit_sign_in" value="[% loc('Post') %]">
- </div>
-
- <div class="checkbox-group">
- <input type="checkbox" id="remember_me" name="remember_me" value='1'[% ' checked' IF remember_me %]>
- <label class="inline n" for="remember_me">[% loc('Keep me signed in on this computer') %]</label>
- </div>
- </div>
- <div id="form_sign_in_no" class="form-box">
- <h5>[% loc('<strong>No</strong> Let me confirm my update by email') %]</h5>
-
- [% INCLUDE name %]
-
- <div class="general-sidebar-notes">
- <p class="dark">[% loc('We never show your email') %]</p>
- <p>[% loc('Providing a password is optional, but doing so will allow you to more easily report problems, leave updates and manage your reports.') %]</p>
- </div>
-
- <label for="password_register">[% loc('Password (optional)') %]</label>
-
- <div class="form-txt-submit-box">
- <input type="password" name="password_register" id="password_register" value="" placeholder="[% loc('Enter a password') %]">
- <input class="green-btn" type="submit" name="submit_register" id="submit_register" value="[% loc('Post') %]">
- </div>
- </div>
- </div>
-
- [% END %]
- </fieldset>
- </form>
-</div>
-[% END %]
-
-
-[% INCLUDE 'footer.html' %]
-
-[% BLOCK name %]
- [% INCLUDE 'report/new/extra_name.html' %]
- <label for="form_name">[% loc('Name') %]</label>
- [% IF field_errors.name %]
- <p class='form-error'>[% field_errors.name %]</p>
- [% END %]
- <input type="text" [% IF problem.council == '2482' %]class="validName" [% END %]name="name" id="form_name" value="[% update.name || c.user.name | html %]" placeholder="[% loc('Your name') %]">
-
- <div class="checkbox-group">
- <input type="checkbox" name="may_show_name" id="form_may_show_name" value="1"[% ' checked' UNLESS update.anonymous %]>
- <label class="inline" for="form_may_show_name">[% loc('Show my name publicly') %]</label>
- </div>
- <div class="checkbox-group">
- <input type="checkbox" name="add_alert" id="form_add_alert" value="1"[% ' checked' IF add_alert %]>
- <label class="inline" for="form_add_alert">[% loc( 'Alert me to future updates' ) %]</label>
- </div>
-[% END %]
View
24 templates/web/fixamingata/report/new/category_extras.html
@@ -1,24 +0,0 @@
-<div id="category_meta">
- [%- IF report_meta %]
- [%- category = report.category %]
- <h4>Additional Information</h4>
- [%- FOR meta IN category_extras.$category %]
- [%- meta_name = meta.code -%]
-
- <label for="form_[% meta_name %]">[% meta.description _ ':' %]</label>
- [% IF field_errors.$meta_name %]
- <p class='form-error'>[% field_errors.$meta_name %]</p>
- [% END -%]
- [% IF meta.exists('values') %]
- <select name="[% meta_name %]" id="form_[% meta_name %]"[% meta.required == 'true' ? ' required' : '' %]>
- [% FOR option IN meta.values.value.keys %]
- <option value="[% meta.values.value.$option.key %]">[% option %]</option>
- [% END %]
- </select>
- [% ELSE %]
- <input type="text" value="[% report_meta.$meta_name | html %]" name="[% meta_name %]" id="form_[% meta_name %]"[% meta.required == 'true' ? ' required' : '' %]>
- [% END %]
-
- [%- END %]
- [%- END %]
-</div>
View
36 templates/web/fixamingata/report/new/fill_in_details.html
@@ -1,36 +0,0 @@
-[%
- SET class = '';
- SET class = 'mappage' IF report.used_map;
- PROCESS "maps/${map.type}.html" IF report.used_map;
- INCLUDE 'header.html', title => loc('Reporting a problem'), bodyclass => class
-%]
-
-[% IF report.used_map %]
-
-<form action="[% c.uri_for('/report/new') %]" method="post" name="mapForm" id="mapForm"[% IF c.cobrand.allow_photo_upload %] enctype="multipart/form-data"[% END %] class="validate">
- [% IF c.req.params.map_override %]
- <input type="hidden" name="map_override" value="[% c.req.params.map_override | html %]">
- [% END %]
-
- <input type="hidden" name="pc" value="[% pc | html %]">
-
-[% ELSE %]
-
-<form action="[% c.uri_for('/report/new') %]" method="post" name="mapSkippedForm"[% IF c.cobrand.allow_photo_upload %] enctype="multipart/form-data"[% END %] class="validate">
- <input type="hidden" name="pc" value="[% pc | html %]">
- <input type="hidden" name="skipped" value="1">
-
-[% END %]
-
- <input type="hidden" name="latitude" id="fixmystreet.latitude" value="[% short_latitude | html %]">
- <input type="hidden" name="longitude" id="fixmystreet.longitude" value="[% short_longitude | html %]">
-
- [% IF report.used_map %]
- [% map_html %]
- </div>
- [% END %]
-
- [% PROCESS 'report/new/fill_in_details_form.html' %]
-</form>
-
-[% INCLUDE 'footer.html' %]
View
8 templates/web/fixamingata/report/photo-js.html
@@ -1,8 +0,0 @@
-[% IF c.cobrand.allow_photo_display %]
- [% extra_css = BLOCK %]
- <link rel="stylesheet" href="[% version('/js/fancybox/jquery.fancybox-1.3.4.css') %]">
- [% END %]
- [% extra_js = BLOCK %]
- <script src="[% version('/js/fancybox/jquery.fancybox-1.3.4.pack.js') %]" charset="utf-8"></script>
- [% END %]
-[% END %]
View
8 templates/web/fixamingata/report/photo.html
@@ -1,8 +0,0 @@
-[% IF c.cobrand.allow_photo_display && object.photo %]
-[% photo = object.get_photo_params %]
-<div class="update-img">
- [% IF photo.url_full %]<a href="[% photo.url_full %]" rel="fancy">[% END
- %]<img alt="Photo of this report" [% IF photo.height %]height="[% photo.height %]" width="[% photo.width %]"[% END %] src="[% photo.url %]">
- [%- IF photo.url_full %]<span>zoom</span></a>[% END %]
-</div>
-[% END %]
View
28 templates/web/fixamingata/report/update.html
@@ -1,28 +0,0 @@
-[% IF loop.first %]
-<section class="full-width">
- <h4 class="static-with-rule">[% loc('Updates') %]</h4>
- <ul class="issue-list">
-[% END %]
- <li>
- <div class="update-wrap">
- [% IF update.whenanswered %]
- <div class="update-text">
- <p class="meta-2"> [% INCLUDE meta_line %] </p>
- </div>
- [% ELSE %]
- <div class="update-text">
- [% add_links( update.text ) | html_para %]
-
- <p class="meta-2">
- <a name="update_[% update.id %]"></a>
- [% INCLUDE meta_line %]
- </p>
- </div>
- [% INCLUDE 'report/photo.html' object=update %]
- [% END %]
- </div>
- </li>
-[% IF loop.last %]
- </ul>
-</section>
-[% END %]
View
24 templates/web/fixamingata/reports/_extras.html
@@ -1,24 +0,0 @@
-[%
- fms_councils = {
- 'Bromley Council' = 'fix.bromley.gov.uk'
- 'Barnet Borough Council' = 'barnet.fixmystreet.com'
- 'Lichfield District Council' = 'lichfielddc.fixmystreet.com'
- 'Reading Borough Council' = 'reading.fixmystreet.com'
- 'Southampton City Council' = 'southampton.fixmystreet.com'
- }
- secure = {
- 'fix.bromley.gov.uk' = 's'
- }
- site = fms_councils.${area.name}
-%]
-[% IF site %]
-<tr align="center"
-[%- IF ! (loop.count % 2) %] class="a"
-[%- END %]>
-<td class="title" colspan="6" style="padding-top:0">
- <small title="This council's online reporting is powered by FixMyStreet">(includes reports from
- <a href="http[% secure.$site %]://[% site %]">[% site %]</a> using
- <a href="http://www.mysociety.org/for-councils/fixmystreet/">FixMyStreet for Councils</a>)</small>
-</td>
-</tr>
-[% END %]
View
1  templates/web/fixamingata/reports/_list-entry.html
@@ -1 +0,0 @@
-[% INCLUDE 'report/_item.html', include_lastupdate = 1 %]
View
19 templates/web/fixamingata/reports/_rss.html
@@ -1,19 +0,0 @@
-<div class="shadow-wrap">
- <ul id="key-tools"[% IF NOT children.size %] class="singleton"[% END %]>
- <li><a rel="nofollow" id="key-tool-updates-area" class="feed" href="[% rss_url %]">[%
- IF c.cobrand.moniker == 'bromley' AND thing == 'council';
- 'Get updates of reports in Bromley';
- ELSIF c.cobrand.moniker == 'bromley';
- 'Get updates of reports in this ward';
- ELSIF c.cobrand.is_council;
- tprintf(loc('Get updates of %s problems'), thing);
- ELSE;
- tprintf(loc('Get updates of problems in this %s'), thing);
- END
- %]</a></li>
- [% IF children.size %]
- <li><a href="#council_wards" id="key-tool-wards" class="chevron">[% ward_text %]</a></li>
- [% END %]
- </ul>
-</div>
-
View
12 templates/web/fixamingata/reports/_ward-list.html
@@ -1,12 +0,0 @@
-[% IF location == 'after' AND children.size %]
-<section id="council_wards" class="hidden-js">
-<h2>[% ward_text %]</h2>
- <p>[% loc('Follow a ward link to view only reports within that ward.') %]</p>
- <ul class="issue-list-a full-width">
- [% FOR child IN children.values.sort('name') %]
- <li><a href="[% child.url %]"><span class="text">[% child.name %]</span></a></li>
- [% END %]
- </ul>
-</section>
-[% END %]
-
View
19 templates/web/fixamingata/tracking_code.html
@@ -1,19 +0,0 @@
-[% IF c.config.BASE_URL == "http://www.fixmystreet.com" %]
-<script type="text/javascript">
-
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-660910-4']);
- _gaq.push(['_setDomainName', '.fixmystreet.com']);
- _gaq.push (['_gat._anonymizeIp']);
- _gaq.push(['_trackPageview']);
-
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
-
-</script>
-[% ELSE %]
-<!-- Tracking code not inserted as "[% c.config.BASE_URL %]" not "http://www.fixmystreet.com" -->
-[% END %]
Please sign in to comment.
Something went wrong with that request. Please try again.