From 87075dc3710c58d9bd75608ef2d4cb2633ed14cf Mon Sep 17 00:00:00 2001 From: TrevorOctober Date: Fri, 19 Aug 2016 10:56:22 +0200 Subject: [PATCH 1/3] use namespaced URLs --- .../servicedirectory/templates/servicedirectory/home.html | 6 +++--- .../servicedirectory/includes/location_search_form.html | 2 +- .../templates/servicedirectory/location_results.html | 2 +- .../templates/servicedirectory/organisation_detail.html | 8 ++++---- .../templates/servicedirectory/organisation_results.html | 6 +++--- .../templates/servicedirectory/organisation_self_sms.html | 2 +- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/molo/servicedirectory/templates/servicedirectory/home.html b/molo/servicedirectory/templates/servicedirectory/home.html index c8521fe..c2d983d 100644 --- a/molo/servicedirectory/templates/servicedirectory/home.html +++ b/molo/servicedirectory/templates/servicedirectory/home.html @@ -4,7 +4,7 @@ -
+ @@ -15,10 +15,10 @@
{% for category in categories_keywords %}

- {{ category.name }} + {{ category.name }}
{% for keyword in category.keywords %} - {{ keyword }}{% if not forloop.last or and_more %}, {% endif %} + {{ keyword }}{% if not forloop.last or and_more %}, {% endif %} {% endfor %} {% if and_more %} and more... diff --git a/molo/servicedirectory/templates/servicedirectory/includes/location_search_form.html b/molo/servicedirectory/templates/servicedirectory/includes/location_search_form.html index 27ddff2..6f0d942 100644 --- a/molo/servicedirectory/templates/servicedirectory/includes/location_search_form.html +++ b/molo/servicedirectory/templates/servicedirectory/includes/location_search_form.html @@ -4,7 +4,7 @@ In which area would you like to find a service?

- + diff --git a/molo/servicedirectory/templates/servicedirectory/location_results.html b/molo/servicedirectory/templates/servicedirectory/location_results.html index d617567..c296eb5 100644 --- a/molo/servicedirectory/templates/servicedirectory/location_results.html +++ b/molo/servicedirectory/templates/servicedirectory/location_results.html @@ -23,7 +23,7 @@

Choose a location:
    {% for prediction in autocomplete_suggestions.predictions %}
  • - {{ prediction.description }} + {{ prediction.description }}
  • {% endfor %} diff --git a/molo/servicedirectory/templates/servicedirectory/organisation_detail.html b/molo/servicedirectory/templates/servicedirectory/organisation_detail.html index 77f6923..143a349 100644 --- a/molo/servicedirectory/templates/servicedirectory/organisation_detail.html +++ b/molo/servicedirectory/templates/servicedirectory/organisation_detail.html @@ -83,17 +83,17 @@

    Trading Hours

{% endif %} - Report incorrect info + Report incorrect info - Send Service to Someone + Send Service to Someone - Send This Service to Yourself + Send This Service to Yourself

How helpful was this?

- + {% csrf_token %}
diff --git a/molo/servicedirectory/templates/servicedirectory/organisation_results.html b/molo/servicedirectory/templates/servicedirectory/organisation_results.html index 295e0cb..cdf32d1 100644 --- a/molo/servicedirectory/templates/servicedirectory/organisation_results.html +++ b/molo/servicedirectory/templates/servicedirectory/organisation_results.html @@ -4,7 +4,7 @@

< Back

- + @@ -31,7 +31,7 @@
{% for organisation in search_results %} - +

{{ organisation.name }}

@@ -69,7 +69,7 @@

  • Search a category: {% for category in categories_keywords %} - + {{ category.name }} {% if not forloop.last %}, {% endif %} {% endfor %} diff --git a/molo/servicedirectory/templates/servicedirectory/organisation_self_sms.html b/molo/servicedirectory/templates/servicedirectory/organisation_self_sms.html index 12d2113..64a8642 100644 --- a/molo/servicedirectory/templates/servicedirectory/organisation_self_sms.html +++ b/molo/servicedirectory/templates/servicedirectory/organisation_self_sms.html @@ -6,7 +6,7 @@

    Do you want to send this service to yourself? It's free!

    - + {% csrf_token %}
    From 2059736b34f969b444c400282609b98cb1c6c013 Mon Sep 17 00:00:00 2001 From: TrevorOctober Date: Fri, 19 Aug 2016 14:01:01 +0200 Subject: [PATCH 2/3] update django version --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index c79b739..afd5822 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -Django==1.8.8 +Django==1.9.8 From 0b9e3473f30e192cf620e03dae1615f13ddbd840 Mon Sep 17 00:00:00 2001 From: TrevorOctober Date: Fri, 19 Aug 2016 14:03:37 +0200 Subject: [PATCH 3/3] added namespace --- molo/servicedirectory/templates/servicedirectory/home.html | 2 +- .../servicedirectory/includes/location_search_form.html | 2 +- .../templates/servicedirectory/organisation_results.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/molo/servicedirectory/templates/servicedirectory/home.html b/molo/servicedirectory/templates/servicedirectory/home.html index c2d983d..72e4611 100644 --- a/molo/servicedirectory/templates/servicedirectory/home.html +++ b/molo/servicedirectory/templates/servicedirectory/home.html @@ -21,7 +21,7 @@

    {{ keyword }}{% if not forloop.last or and_more %}, {% endif %} {% endfor %} {% if and_more %} - and more... + and more... {% endif %}

    {% endfor %} diff --git a/molo/servicedirectory/templates/servicedirectory/includes/location_search_form.html b/molo/servicedirectory/templates/servicedirectory/includes/location_search_form.html index 6f0d942..95c54f4 100644 --- a/molo/servicedirectory/templates/servicedirectory/includes/location_search_form.html +++ b/molo/servicedirectory/templates/servicedirectory/includes/location_search_form.html @@ -1,4 +1,4 @@ -

    < Back

    +

    < Back

    Check your spelling

  • - Search for something else + Search for something else
  • Search a category: