Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Remove further angular specific logic

Roland Geiderd215c10ffe00
diff --git a/wger/core/templates/index.html b/wger/core/templates/index.html
index 8abf1f2bf..5e904d248 100644
--- a/wger/core/templates/index.html
+++ b/wger/core/templates/index.html
@@ -7,17 +7,6 @@
{# Header #}
{# #}
{% block header %}
- <script src="{% static 'angular/en/runtime.js' %}" defer></script>
- <script src="{% static 'angular/en/polyfills.js' %}" defer></script>
-
- {# Manually load the appropriate language if it's available #}
- {% if language.short_name in languages_angular %}
- {% with 'angular/'|add:language.short_name|add:"/main.js" as test %}
- <script src="{% static test %}" defer></script>
- {% endwith %}
- {% else %}
- <script src="{% static 'angular/en/main.js' %}" defer></script>
- {% endif %}
{% endblock %}
diff --git a/wger/utils/context_processor.py b/wger/utils/context_processor.py
index c18da30fa..8948e53c1 100644
--- a/wger/utils/context_processor.py
+++ b/wger/utils/context_processor.py
@@ -43,9 +43,6 @@ def processor(request):
# Available application languages
'languages': settings.LANGUAGES,
- # Available application languages for angular app
- 'languages_angular': settings.LANGUAGES_ANGULAR,
-
# The current path
'request_full_path': full_path,