|
53 | 53 | # Tickets |
54 | 54 | url(r'^tickets/', include('junction.tickets.urls')), |
55 | 55 |
|
56 | | - # Proposals related |
57 | | - url(r'^(?P<conference_slug>[\w-]+)/$', |
58 | | - RedirectView.as_view(pattern_name="proposals-list"), |
59 | | - name='conference-index'), |
60 | | - url(r'^(?P<conference_slug>[\w-]+)/proposals/', include('junction.proposals.urls')), |
61 | | - url(r'^(?P<conference_slug>[\w-]+)/dashboard/reviewers/', |
62 | | - junction.proposals.dashboard.reviewer_comments_dashboard, |
63 | | - name='proposal-reviewers-dashboard'), |
64 | | - url(r'^(?P<conference_slug>[\w-]+)/dashboard/proposal_state/$', |
65 | | - junction.proposals.dashboard.proposal_state, |
66 | | - name='proposal-state'), |
67 | | - url(r'^(?P<conference_slug>[\w-]+)/dashboard/$', |
68 | | - junction.proposals.dashboard.proposals_dashboard, name='proposal-dashboard'), |
69 | | - url(r'^(?P<conference_slug>[\w-]+)/dashboard/votes/$', |
70 | | - junction.proposals.dashboard.reviewer_votes_dashboard, |
71 | | - name='proposal-reviewer-votes-dashboard'), |
72 | | - url(r'^(?P<conference_slug>[\w-]+)/dashboard/votes/export/$', |
73 | | - junction.proposals.dashboard.export_reviewer_votes, |
74 | | - name='export-reviewer-votes'), |
| 56 | + |
75 | 57 | url(r'^feedback/(?P<schedule_item_id>\d+)/$', |
76 | 58 | view_feedback, |
77 | 59 | name='feedback-detail'), |
78 | 60 | url(r'^schedule_item/(?P<sch_item_id>\d+)/$', |
79 | 61 | non_proposal_schedule_item_view, |
80 | 62 | name="schedule-item"), |
| 63 | + |
81 | 64 | url(r'^api/v1/', include(router.urls)), |
82 | 65 | # Device |
83 | 66 | url(r'^api/v1/devices/$', DeviceListApiView.as_view(), name='device-list'), |
|
90 | 73 | url('^api/v1/feedback/$', |
91 | 74 | FeedbackListApiView.as_view(), |
92 | 75 | name='feedback-list'), |
| 76 | + |
93 | 77 | # User Dashboard |
94 | 78 | url(r'^profiles/', include('junction.profiles.urls', namespace="profiles")), |
95 | 79 |
|
| 80 | + # Static Pages. TODO: to be refactored |
| 81 | + url(r'^speakers/$', |
| 82 | + TemplateView.as_view(template_name='static-content/speakers.html',), |
| 83 | + name='speakers-static'), |
| 84 | + url(r'^schedule/$', |
| 85 | + TemplateView.as_view(template_name='static-content/schedule.html',), |
| 86 | + name='schedule-static'), |
| 87 | + url(r'^venue/$', |
| 88 | + TemplateView.as_view(template_name='static-content/venue.html',), |
| 89 | + name='venue-static'), |
| 90 | + url(r'^sponsors/$', |
| 91 | + TemplateView.as_view(template_name='static-content/sponsors.html',), |
| 92 | + name='sponsors-static'), |
| 93 | + url(r'^blog/$', |
| 94 | + TemplateView.as_view(template_name='static-content/blog-archive.html',), |
| 95 | + name='blog-archive'), |
| 96 | + url(r'^coc/$', |
| 97 | + TemplateView.as_view(template_name='static-content/coc.html',), |
| 98 | + name='coc-static'), |
| 99 | + url(r'^faq/$', |
| 100 | + TemplateView.as_view(template_name='static-content/faq.html',), |
| 101 | + name='faq-static'), |
| 102 | + |
| 103 | + # Conference Pages |
| 104 | + url(r'^(?P<conference_slug>[\w-]+)/', include('junction.conferences.urls')), |
| 105 | + |
| 106 | + # Proposals related |
| 107 | + url(r'^(?P<conference_slug>[\w-]+)/proposals/', include('junction.proposals.urls')), |
| 108 | + url(r'^(?P<conference_slug>[\w-]+)/dashboard/reviewers/', |
| 109 | + junction.proposals.dashboard.reviewer_comments_dashboard, |
| 110 | + name='proposal-reviewers-dashboard'), |
| 111 | + url(r'^(?P<conference_slug>[\w-]+)/dashboard/proposal_state/$', |
| 112 | + junction.proposals.dashboard.proposal_state, |
| 113 | + name='proposal-state'), |
| 114 | + url(r'^(?P<conference_slug>[\w-]+)/dashboard/$', |
| 115 | + junction.proposals.dashboard.proposals_dashboard, name='proposal-dashboard'), |
| 116 | + url(r'^(?P<conference_slug>[\w-]+)/dashboard/votes/$', |
| 117 | + junction.proposals.dashboard.reviewer_votes_dashboard, |
| 118 | + name='proposal-reviewer-votes-dashboard'), |
| 119 | + url(r'^(?P<conference_slug>[\w-]+)/dashboard/votes/export/$', |
| 120 | + junction.proposals.dashboard.export_reviewer_votes, |
| 121 | + name='export-reviewer-votes'), |
| 122 | + |
96 | 123 | # Schedule related |
97 | 124 | url(r'^(?P<conference_slug>[\w-]+)/schedule/', include('junction.schedule.urls')), |
98 | | - # Static Pages. TODO: to be refactored |
99 | | - url(r'^speakers/$', TemplateView.as_view(template_name='static-content/speakers.html',), name='speakers-static'), |
100 | | - url(r'^schedule/$', TemplateView.as_view(template_name='static-content/schedule.html',), name='schedule-static'), |
101 | | - url(r'^venue/$', TemplateView.as_view(template_name='static-content/venue.html',), name='venue-static'), |
102 | | - url(r'^sponsors/$', TemplateView.as_view(template_name='static-content/sponsors.html',), name='sponsors-static'), |
103 | | - url(r'^blog/$', TemplateView.as_view(template_name='static-content/blog-archive.html',), name='blog-archive'), |
104 | | - url(r'^coc/$', TemplateView.as_view(template_name='static-content/coc.html',), name='coc-static'), |
105 | | - url(r'^faq/$', TemplateView.as_view(template_name='static-content/faq.html',), name='faq-static'), |
106 | 125 |
|
107 | 126 | # Proposals as conference home page. TODO: Needs to be enhanced |
108 | 127 | url(r'^(?P<conference_slug>[\w-]+)--/', |
|
0 commit comments