Self hosted FLOSS fitness/workout, nutrition and weight tracker
Replace mailing list with discord server link on contact page
Roland Geidercdd1b0be9abe
diff --git a/wger/core/templates/misc/contact.html b/wger/core/templates/misc/contact.htmlindex de75d7e76..75a26555e 100644--- a/wger/core/templates/misc/contact.html+++ b/wger/core/templates/misc/contact.html@@ -9,8 +9,8 @@<div class="col-sm-6"><p>{% blocktrans %}Thank you for your interest. Feel free to use any of theways below to send feedback you have about any aspect of the site. For-support, it's better to use the mailing list-(<a href="mailto:[email protected]">[email protected]</a>), to report+support, say hi+<a href="{{discord}}">on the discord channel</a>, to reporta bug, consider doing it through the <a href="{{issues}}">issue tracker</a>.{% endblocktrans %}</p></div>@@ -39,7 +39,7 @@ you think! Except patches, don't send patches via twitter.{% endblocktrans %}</p<div class="col-md-4">- <h4>{% trans "Forum / Mailing list" %}</h4>+ <h4>{% trans "Discord" %}</h4><p>{% blocktrans %}Use the public group to get support for yourlocal wger installation, discuss issues or your new idea, etc.(no registration needed){% endblocktrans %}</p>@@ -53,7 +53,7 @@ local wger installation, discuss issues or your new idea, etc.class="btn btn-light btn-block twitter-mention-button">{% trans "tweet to @wger_project" %}</a></div><div class="col-md-4">- <a href="https://groups.google.com/group/wger" class="btn btn-light btn-block">{% trans "Go to mailing list" %}</a>+ <a href="{{discord}}" class="btn btn-light btn-block">{% trans "Go to the discord server" %}</a></div></div>diff --git a/wger/core/views/misc.py b/wger/core/views/misc.pyindex 21ea31c86..d392677c6 100644--- a/wger/core/views/misc.py+++ b/wger/core/views/misc.py@@ -153,7 +153,8 @@ def dashboard(request):class ContactClassView(TemplateView):def get_context_data(self, **kwargs):context = super(ContactClassView, self).get_context_data(**kwargs)- context.update({'contribute': reverse('software:contribute'),+ context.update({'discord': 'https://discord.gg/rPWFv6W',+ 'contribute': reverse('software:contribute'),'issues': reverse('software:issues'),'feedback': reverse('core:feedback')})return context