diff --git a/frontend/index.js b/frontend/index.js index 357c171c7..2cb113fc1 100644 --- a/frontend/index.js +++ b/frontend/index.js @@ -182,7 +182,7 @@ function loadSearchResults(searchInput) { } function issueSearch() { - let searchURL = Urls["cree-dictionary-search-results"](userQuery); + let searchURL = Urls["dictionary-search-results"](userQuery); window.history.replaceState(null, "", urlForQuery(userQuery)); hideProse(); @@ -216,7 +216,7 @@ function loadSearchResults(searchInput) { } function goToHomePage() { - window.history.replaceState(null, "", Urls["cree-dictionary-index"]()); + window.history.replaceState(null, "", Urls["dictionary-index"]()); showProse(); @@ -282,10 +282,10 @@ function setupAudioOnPageLoad() { /** * Makes all URL paths relative to '/'. * In development, the root path is '/', so nothing changes. - * On Sapir (as of 2020-03-09), the root path is '/cree-dictionary/'. + * On Sapir (as of 2020-03-09), the root path is '/dictionary/'. */ function makeRouteRelativeToSlash(route) { - let baseURL = Urls["cree-dictionary-index"](); + let baseURL = Urls["dictionary-index"](); return route.replace(baseURL, "/"); } diff --git a/src/morphodict/api/templates/API/click-in-text-embedded-test.html b/src/morphodict/api/templates/API/click-in-text-embedded-test.html index cbbe74ded..29867769f 100644 --- a/src/morphodict/api/templates/API/click-in-text-embedded-test.html +++ b/src/morphodict/api/templates/API/click-in-text-embedded-test.html @@ -8,7 +8,7 @@ Click in text embedded test page diff --git a/src/morphodict/api/templates/admin/base.html b/src/morphodict/api/templates/admin/base.html index c0b2870be..1b31e99fd 100644 --- a/src/morphodict/api/templates/admin/base.html +++ b/src/morphodict/api/templates/admin/base.html @@ -1,7 +1,7 @@ {% extends "admin/base.html" %} {% block userlinks %} - Query help / - FST tool / + Query help / + FST tool / {{ block.super }} {% endblock %} diff --git a/src/morphodict/api/urls.py b/src/morphodict/api/urls.py index 05c797ca2..c5c2ffeb3 100644 --- a/src/morphodict/api/urls.py +++ b/src/morphodict/api/urls.py @@ -7,11 +7,11 @@ path( "click-in-text/", api_views.click_in_text, - name="cree-dictionary-word-click-in-text-api", + name="dictionary-word-click-in-text-api", ), path( "click-in-text-embedded-test/", api_views.click_in_text_embedded_test, - name="cree-dictionary-click-in-text-embedded-test", + name="dictionary-click-in-text-embedded-test", ), ] diff --git a/src/morphodict/frontend/templates/morphodict/components/header.html b/src/morphodict/frontend/templates/morphodict/components/header.html index f89caa83c..dd7b592d0 100644 --- a/src/morphodict/frontend/templates/morphodict/components/header.html +++ b/src/morphodict/frontend/templates/morphodict/components/header.html @@ -3,7 +3,7 @@