Skip to content

Commit

Permalink
Remove leading slash from static paths
Browse files Browse the repository at this point in the history
  • Loading branch information
symroe committed Mar 19, 2018
1 parent 052f64b commit f60f5e9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load staticfiles %}
{% load static %}
{% load markdown_deux_tags %}

{% block title %}Towards better elections, report on Democracy Club’s work on the 2017 elections and the future of digital services for democracy{% endblock title %}
Expand All @@ -10,7 +10,7 @@

# Towards better elections

<img src="{% static "/report_2017/images/bridge.jpg" %}">
<img src="{% static "report_2017/images/bridge.jpg" %}">

**Democracy Club’s annual report — June 2016 - June 2017**

Expand Down Expand Up @@ -96,7 +96,7 @@

# Democracy Club: Data

<img src="{% static "/report_2017/images/tube.jpg" %}">
<img src="{% static "report_2017/images/tube.jpg" %}">
Data refers to the datasets we manage and the Application Programming Interfaces (APIs) we provide (the things that computers use to talk to each other). We assume it is better to take information to where the people are, rather than try to bring people to a new place, so we provide accurate and comprehensive open data in order to make it easy for organisations of all shapes and sizes to provide civic information tailored to their audience.

## Election data
Expand Down Expand Up @@ -227,7 +227,7 @@

# Democracy Club: Apps

<img src="{% static "/report_2017/images/bridge-2.jpg" %}">
<img src="{% static "report_2017/images/bridge-2.jpg" %}">

Apps — or applications — are the services we run for voters’ direct use. And, perhaps in future, candidates’ use too.

Expand Down Expand Up @@ -291,7 +291,7 @@

# Democracy Club: Labs

<img src="{% static "/report_2017/images/england.jpg" %}">
<img src="{% static "report_2017/images/england.jpg" %}">

Labs is the label we give to prototype projects created in-house or donated to us by others.

Expand All @@ -310,7 +310,7 @@


# Democracy Club: The Club
<img src="{% static "/report_2017/images/severn-bridge.jpg" %}">
<img src="{% static "report_2017/images/severn-bridge.jpg" %}">

The ‘club’ is everyone involved in making every database and project mentioned in this report happen. At June 2017, we are three full time staff and tens of closely involved volunteers and thousands of people who add data, as well as a mailing list of 10,000 people.

Expand Down Expand Up @@ -351,7 +351,7 @@

# What’s next?

<img src="{% static "/report_2017/images/canal.jpg" %}">
<img src="{% static "report_2017/images/canal.jpg" %}">

Last year, we outlined a four-year plan. The snap general election dealt with that — and forces us to reconsider how we plan for the future. Several elements are still basically the same:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load staticfiles %}
{% load static %}
{% load markdown_deux_tags %}

{% block title %}Where Do I Vote - User Feedback{% endblock title %}
Expand Down Expand Up @@ -200,11 +200,11 @@

While the opening hours are at the top of the page in desktop layout, on mobile devices, that information ‘collapses’ and is displayed lower down the page.
{% endfilter %}
<img class="screenshot" src="{% static "/wheredoivote_user_feedback/image1.png" %}">
<img class="screenshot" src="{% static "wheredoivote_user_feedback/image1.png" %}">
{% filter markdown %}
<em>Screenshot of [wheredoivote.co.uk](https://wheredoivote.co.uk/) in a desktop browser</em>
{% endfilter %}
<img class="screenshot" src="{% static "/wheredoivote_user_feedback/image2.png" %}">
<img class="screenshot" src="{% static "wheredoivote_user_feedback/image2.png" %}">
{% filter markdown %}
<em>Screenshot of [wheredoivote.co.uk](https://wheredoivote.co.uk/) in a mobile browser</em>

Expand Down Expand Up @@ -331,19 +331,19 @@

> This "suggested" route is awful, am I expected to fly or crawl over gardens to get there?
{% endfilter %}
<img class="screenshot" src="{% static "/wheredoivote_user_feedback/image3.png" %}">
<img class="screenshot" src="{% static "wheredoivote_user_feedback/image3.png" %}">
{% filter markdown %}
> The line doesn't match up with the roads - it's just a straight line between points on the journey. It's better than just a blank map with two points on, but a bit frustrating as it doesn't actually show a route
{% endfilter %}
<img class="screenshot" src="{% static "/wheredoivote_user_feedback/image4.png" %}">
<img class="screenshot" src="{% static "wheredoivote_user_feedback/image4.png" %}">
{% filter markdown %}
> There is something wrong with your maps. The route to the polling station means going through the gardens of several neighbours -- I'm not sure that would be appreciated…
{% endfilter %}
<img class="screenshot" src="{% static "/wheredoivote_user_feedback/image5.png" %}">
<img class="screenshot" src="{% static "wheredoivote_user_feedback/image5.png" %}">
{% filter markdown %}
> Walking direction is wrong! (You are walking through houses!)
{% endfilter %}
<img class="screenshot" src="{% static "/wheredoivote_user_feedback/image6.png" %}">
<img class="screenshot" src="{% static "wheredoivote_user_feedback/image6.png" %}">
{% filter markdown %}

In general, providing directions is useful more frequently than it is not useful but we need to take a more sophisticated approach to the way we represent directions to ensure that the directions provided are of a high quality. We have also run into usage limits with the google directions API which prevented us from being able to serve directions to some users. We should evaluate alternative providers to see if we can find a better solution. It is clear that this is a valuable feature for users.
Expand Down

0 comments on commit f60f5e9

Please sign in to comment.