You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the following 3 spots in footer.html, it should be possible to make this a little more DRY by doing something like if request.url_rule.endpoint.includes('foo_')
{% if request.url_rule.endpoint in ['contributors_report_bug', 'contributors_reproduce_bug', 'contributors_diagnose_bug', 'contributors_site_outreach'] %}
In the following 3 spots in footer.html, it should be possible to make this a little more DRY by doing something like
if request.url_rule.endpoint.includes('foo_')
webcompat.com/webcompat/templates/shared/footer.html
Line 19 in 93be91b
webcompat.com/webcompat/templates/shared/footer.html
Line 43 in 93be91b
webcompat.com/webcompat/templates/shared/footer.html
Line 61 in 93be91b
We probably need to come up with meaningful groupings and rename the route method names so this trick would work:
webcompat.com/webcompat/views.py
Line 342 in 93be91b
The text was updated successfully, but these errors were encountered: