From 08b8bd81ae671e256a45779d202f854446cbf6e9 Mon Sep 17 00:00:00 2001 From: kimarakov Date: Sun, 7 Jan 2018 13:20:15 -0800 Subject: [PATCH] Fix all spellings of occurence -> occurrence --- README.md | 2 +- docs/settings.txt | 2 +- schedule/templates/fullcalendar_script.html | 2 +- .../templates/schedule/_day_cell_big.html | 4 +-- schedule/urls.py | 2 +- schedule/utils.py | 8 +++--- tests/test_event.py | 12 ++++----- tests/test_periods.py | 2 +- tests/test_views.py | 26 +++++++++---------- 9 files changed, 30 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index 2b74553..0379045 100644 --- a/README.md +++ b/README.md @@ -140,7 +140,7 @@ This setting controls the behavior of `Views.get_next_url`. If set, all calendar ### SHOW_CANCELLED_OCCURRENCES -This setting controls the behavior of `Period.classify_occurence`. If True, then occurences that have been cancelled will be displayed with a css class of canceled, otherwise they won't appear at all. +This setting controls the behavior of `Period.classify_occurrence`. If True, then occurrences that have been cancelled will be displayed with a css class of canceled, otherwise they won't appear at all. Defaults to False diff --git a/docs/settings.txt b/docs/settings.txt index 7f986a9..78e9199 100644 --- a/docs/settings.txt +++ b/docs/settings.txt @@ -15,7 +15,7 @@ This setting controls the behavior of :func:`Views.get_next_url`. If set, all ca SHOW_CANCELLED_OCCURRENCES -------------------------- -This setting controls the behavior of :func:`Period.classify_occurence`. If True, then occurrences that have been cancelled will be displayed with a css class of canceled, otherwise they won't appear at all. +This setting controls the behavior of :func:`Period.classify_occurrence`. If True, then occurrences that have been cancelled will be displayed with a css class of canceled, otherwise they won't appear at all. Defaults to False diff --git a/schedule/templates/fullcalendar_script.html b/schedule/templates/fullcalendar_script.html index e5e8ecc..ad18c96 100644 --- a/schedule/templates/fullcalendar_script.html +++ b/schedule/templates/fullcalendar_script.html @@ -113,7 +113,7 @@ eventLimit: true, // allow 'more' link when too many events selectable: true, //Allows a user to highlight multiple days or timeslots by clicking and dragging. selectHelper: true, - events: "{% url 'api_occurences' %}?calendar_slug={{calendar_slug}}", + events: "{% url 'api_occurrences' %}?calendar_slug={{calendar_slug}}", loading: function(bool) { if (bool) { $('#loading').show(); diff --git a/schedule/templates/schedule/_day_cell_big.html b/schedule/templates/schedule/_day_cell_big.html index e99db41..bbedd18 100644 --- a/schedule/templates/schedule/_day_cell_big.html +++ b/schedule/templates/schedule/_day_cell_big.html @@ -2,7 +2,7 @@
{% if day.has_occurrences %} {% for o in day.get_occurrence_partials %} -
-