Files @ a557f2b3357c
Branch filter:

Location: website/conservancy/fossy/urls.py

bsturmfels
Fix "expand all sections" second link

Issue was that the jQuery is using .children() to add the event handlers but due
to some changes to the HTML, the second link is no longer a direct child. I've
switched this to .find() instead.
1
2
3
4
5
6
7
8
from django.conf.urls import url

from .views import CommunityTrackProposalCreateView, CommunityTrackProposalThanksView

urlpatterns = [
    url(r'^community-tracks/$', CommunityTrackProposalCreateView.as_view(), name='fossy-add'),
    url(r'^(?P<pk>[\w-]+)/$', CommunityTrackProposalThanksView.as_view(), name='fossy-thanks'),
]