Self hosted FLOSS fitness/workout, nutrition and weight tracker
Remove unused twitter setting
Roland Geider11a2094a0e14
diff --git a/wger/core/templates/template.html b/wger/core/templates/template.htmlindex 701a3d010..ffd2a4c36 100644--- a/wger/core/templates/template.html+++ b/wger/core/templates/template.html@@ -38,14 +38,6 @@<meta property="og:image" content="{{ image_absolute_path }}">{% endblock %}- {% block twittercard %}- {% if twitter %}- <!-- twitter cards -->- <meta content="summary" name="twitter:card">- <meta content="@{{ twitter }}" name="twitter:site">- {% endif %}- {% endblock %}-<link rel="stylesheet" type="text/css" href="{% static 'css/workout-manager.css' %}"><link rel="stylesheet" type="text/css" href="{% static 'bootstrap-compiled.css' %}"><link rel="stylesheet" type="text/css" href="{% static 'css/bootstrap-custom.css' %}">diff --git a/wger/core/templates/template_features.html b/wger/core/templates/template_features.htmlindex 59c37f500..7a1724785 100644--- a/wger/core/templates/template_features.html+++ b/wger/core/templates/template_features.html@@ -35,14 +35,6 @@<meta property="og:image" content="{{ image_absolute_path }}">{% endblock %}- {% block twittercard %}- {% if twitter %}- <!-- twitter cards -->- <meta content="summary" name="twitter:card">- <meta content="@{{ twitter }}" name="twitter:site">- {% endif %}- {% endblock %}-<link rel="stylesheet" type="text/css" href="{% static 'bootstrap-compiled.css' %}"><link rel="stylesheet" type="text/css" href="{% static 'fontawesomefree/css/all.css' %}"><link rel="stylesheet" type="text/css" href="{% static 'css/landing_page.css' %}">diff --git a/wger/core/templates/template_no_context.html b/wger/core/templates/template_no_context.htmlindex 9060b2f62..65b8c2476 100644--- a/wger/core/templates/template_no_context.html+++ b/wger/core/templates/template_no_context.html@@ -56,11 +56,6 @@<div id="content">{% block content %}{% endblock %}<p>- {% if twitter %}- <a href="https://twitter.com/{{ twitter }}" target="_blank"- rel="noopener noreferrer"><i- class="fab fa-twitter p-2 fa-2x" aria-hidden="true"></i></a>- {% endif %}<a href="https://discord.gg/rPWFv6W" target="_blank"rel="noopener noreferrer"><iclass="fab fa-discord p-2 fa-2x"></i></a>diff --git a/wger/core/tests/test_registration.py b/wger/core/tests/test_registration.pyindex a8032ecd8..a03250b42 100644--- a/wger/core/tests/test_registration.py+++ b/wger/core/tests/test_registration.py@@ -58,7 +58,6 @@ class RegistrationTestCase(WgerTestCase):'USE_RECAPTCHA': True,'ALLOW_REGISTRATION': True,'ALLOW_GUEST_USERS': True,- 'TWITTER': False,'MASTODON': False,'MIN_ACCOUNT_AGE_TO_TRUST': 21,}@@ -71,7 +70,6 @@ class RegistrationTestCase(WgerTestCase):'USE_RECAPTCHA': False,'ALLOW_REGISTRATION': True,'ALLOW_GUEST_USERS': True,- 'TWITTER': False,'MASTODON': False,'MIN_ACCOUNT_AGE_TO_TRUST': 21,}diff --git a/wger/core/tests/test_temporary_users.py b/wger/core/tests/test_temporary_users.pyindex 2f5a578d1..82d61ac4f 100644--- a/wger/core/tests/test_temporary_users.py+++ b/wger/core/tests/test_temporary_users.py@@ -63,7 +63,6 @@ class DemoUserTestCase(WgerTestCase):'USE_RECAPTCHA': True,'ALLOW_REGISTRATION': True,'ALLOW_GUEST_USERS': False,- 'TWITTER': False,'MASTODON': False,'MIN_ACCOUNT_AGE_TO_TRUST': 21,}diff --git a/wger/utils/context_processor.py b/wger/utils/context_processor.pyindex 083017965..550fb5426 100644--- a/wger/utils/context_processor.py+++ b/wger/utils/context_processor.py@@ -33,7 +33,6 @@ def processor(request):# fmt: offcontext = {'mastodon': settings.WGER_SETTINGS.get('MASTODON', ''),- 'twitter': settings.WGER_SETTINGS.get('TWITTER', ''),'allow_registration': settings.WGER_SETTINGS.get('ALLOW_REGISTRATION', False),# Languages