From 54f5fbe4bf319e5c8fdb6377838afbc811431a90 Mon Sep 17 00:00:00 2001
From: Matthew Somerville Mapping and reporting street problems to the councils responsible for fixing them – anywhere in the UK. Your donations keep this site and others like it running
+ Built by
+ mySociety
+
+ Powered by
+ FixMyStreet Platform
+ mySociety Limited is a project of UK Citizens Online Democracy, a registered charity in England and Wales. For full details visit mysociety.org.
- Powered by FixMyStreet Platform
- [% loc('Not reported to council') %] [% loc('Not reported to council') %]
[% loc('Currently no bodies have been created.') %]
-
-
-
- FixMyStreet
+
+
[% loc('Are you a developer?') %]
diff --git a/templates/web/greenwich/footer.html b/templates/web/greenwich/footer.html
index fe905acb1..7ff0dd0af 100644
--- a/templates/web/greenwich/footer.html
+++ b/templates/web/greenwich/footer.html
@@ -5,9 +5,6 @@
[% END %]
b.length)return this;var c=function(a,b,d,k){for(var l=0,m=0,q=b,p;q
=r&&b.callback&&(p.code=n?OpenLayers.Protocol.Response.SUCCESS:OpenLayers.Protocol.Response.FAILURE,b.callback.apply(b.scope,[p]))}b=OpenLayers.Util.applyDefaults(b,this.options);var e=[],f=0,g={};g[OpenLayers.State.INSERT]=[];g[OpenLayers.State.UPDATE]=[];g[OpenLayers.State.DELETE]=[];for(var h,k,l=[],m=0,q=a.length;m
a?"0"+a:a}return'"'+a.getFullYear()+
-"-"+b(a.getMonth()+1)+"-"+b(a.getDate())+"T"+b(a.getHours())+":"+b(a.getMinutes())+":"+b(a.getSeconds())+'"'}},CLASS_NAME:"OpenLayers.Format.JSON"});OpenLayers.Format.XML=OpenLayers.Class(OpenLayers.Format,{namespaces:null,namespaceAlias:null,defaultPrefix:null,readers:{},writers:{},xmldom:null,initialize:function(a){window.ActiveXObject&&(this.xmldom=new ActiveXObject("Microsoft.XMLDOM"));OpenLayers.Format.prototype.initialize.apply(this,[a]);this.namespaces=OpenLayers.Util.extend({},this.namespaces);this.namespaceAlias={};for(var b in this.namespaces)this.namespaceAlias[this.namespaces[b]]=b},destroy:function(){this.xmldom=null;OpenLayers.Format.prototype.destroy.apply(this,
-arguments)},setNamespace:function(a,b){this.namespaces[a]=b;this.namespaceAlias[b]=a},read:function(a){var b=a.indexOf("<");0=OpenLayers.Style.createLiteral(this.minScaleDenominator,b));c&&this.maxScaleDenominator&&(c=d
@@ -20,14 +20,31 @@ and to receive notices of updates.
' IF loop.first %]
-
" IF loop.last %]
-[%- END %]
-[% END -%]
+
+
+
+
+
+[% loc('Stats') %]
[% INCLUDE 'status/stats.html' admin_include_users=1 %]
[% IF c.cobrand.admin_show_creation_graph -%]
@@ -36,28 +53,4 @@ and to receive notices of updates.
| [% loc('Category') %] | [% loc('Total') %] | [% loc('Fixed') %] |
|---|---|---|
| [% category.key %] | [% category.value.total %] | [% category.value.fixed / category.value.total * 100 | format('%.1f') %]% |
[% loc('Category fix rate for problems > 4 weeks old') %]
-[% END %] - [% INCLUDE 'admin/footer.html' %] diff --git a/templates/web/base/admin/stats.html b/templates/web/base/admin/stats.html index d143d9f28..5aaf59068 100644 --- a/templates/web/base/admin/stats.html +++ b/templates/web/base/admin/stats.html @@ -51,6 +51,13 @@ [% loc( 'Note that when including unconfirmed reports we use the date the report was created which may not be in the same month the report was confirmed so the numbers may jump about a little' ) %] [% END %] +[% ELSE %] +| [% loc('Category') %] | [% loc('Total') %] | [% loc('Fixed') %] |
|---|---|---|
| [% category.key %] | [% category.value.total %] | [% category.value.fixed / category.value.total * 100 | format('%.1f') %]% |
- [% problem.processed_summary_string(c) %] + [% SET duration_clause = problem.duration_string(c) IF problem.whensent %] + [%- IF problem.can_display_external_id %] + [%- IF duration_clause %] + [%- external_ref_clause = tprintf(loc('Council ref: %s'), problem.external_id) %] + [%- ELSE %] + [%- external_ref_clause = tprintf(loc('%s ref: %s'), problem.external_body, problem.external_id) %] + [%- END %] + [%- END -%] + [% duration_clause %] + [%- IF external_ref_clause %] + [%- IF duration_clause %]. [% END %] + [% external_ref_clause %]. + [%- END %]
[% END %] -- cgit v1.2.3 From 872545f8a71a98a91951be04515ca491e3cfed1d Mon Sep 17 00:00:00 2001 From: Matthew Somerville[% loc('Not reported to council') %]
- [% END %] + [% INCLUDE 'report/_main_sent_info.html' %] [% mlog = problem.latest_moderation_log_entry(); IF mlog %]Moderated by [% mlog.user.from_body.name %] at [% prettify_dt(mlog.whenedited) %]
[% END %] @@ -92,4 +88,6 @@ [% END %] + + [% TRY %][% PROCESS 'report/_main_after.html' %][% CATCH file %][% END %] diff --git a/templates/web/base/report/_main_sent_info.html b/templates/web/base/report/_main_sent_info.html new file mode 100644 index 000000000..3e54ac8ed --- /dev/null +++ b/templates/web/base/report/_main_sent_info.html @@ -0,0 +1,5 @@ +[% IF problem.bodies_str %] + [% INCLUDE 'report/_council_sent_info.html' %] +[% ELSE %] +[% loc('Not reported to council') %]
+[% END %] diff --git a/templates/web/oxfordshire/report/_main.html b/templates/web/oxfordshire/report/_main.html deleted file mode 100644 index 2ff193075..000000000 --- a/templates/web/oxfordshire/report/_main.html +++ /dev/null @@ -1,101 +0,0 @@ -[% moderating = c.user && c.user.has_permission_to('moderate', problem.bodies_str) %] - -[% loc('Not reported to council') %]
-[% loc('Not reported to council') %]
+[% problem.duration_string(c) %]
+[% END %] -- cgit v1.2.3 From f10acf678577e3e5a691c8385a5c67944cd1ca2f Mon Sep 17 00:00:00 2001 From: Matthew Somerville