Self hosted FLOSS fitness/workout, nutrition and weight tracker
Highlight the 'software' tab for the contact page
Roland Geidera010426b55e5
diff --git a/wger/utils/context_processor.py b/wger/utils/context_processor.pyindex b10e25fad..2127145c1 100644--- a/wger/utils/context_processor.py+++ b/wger/utils/context_processor.py@@ -42,8 +42,9 @@ def processor(request):}# Pseudo-intelligent navigation here- if '/software/' in request.get_full_path():- context['active_tab'] = constants.SOFTWARE_TAB+ if '/software/' in request.get_full_path() \+ or '/contact' in request.get_full_path():+ context['active_tab'] = constants.SOFTWARE_TABelif '/exercise/' in request.get_full_path():context['active_tab'] = constants.EXERCISE_TAB