mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 03:49:10 +02:00

If the RRS is enabled, then add a way to get from the layer detail page to any maintenance plans in which the layer is included. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
29 lines
1.2 KiB
Python
29 lines
1.2 KiB
Python
from django.conf.urls import patterns, include, url
|
|
|
|
from rrs.models import Release, Milestone
|
|
from rrs.views import RecipeListView, recipes_report, RecipeDetailView, \
|
|
MaintainerListView, FrontPageRedirect, MaintenancePlanRedirect
|
|
|
|
urlpatterns = patterns('',
|
|
url(r'^$', FrontPageRedirect.as_view(),
|
|
name='rrs_frontpage'),
|
|
url(r'^maintplan/(?P<maintplan_name>.*)/$',
|
|
MaintenancePlanRedirect.as_view(),
|
|
name='rrs_maintplan'),
|
|
url(r'^recipes/(?P<maintplan_name>.*)/(?P<release_name>.*)/(?P<milestone_name>.*)/$',
|
|
RecipeListView.as_view(
|
|
template_name='rrs/recipes.html'),
|
|
name='rrs_recipes'),
|
|
url(r'^recipesreport/(?P<maintplan_name>.*)/(?P<release_name>.*)/(?P<milestone_name>.*)/$',
|
|
recipes_report,
|
|
name="rrs_recipesreport"),
|
|
url(r'^recipedetail/(?P<maintplan_name>.*)/(?P<pk>\d+)/$',
|
|
RecipeDetailView.as_view(
|
|
template_name='rrs/recipedetail.html'),
|
|
name='rrs_recipedetail'),
|
|
url(r'^maintainers/(?P<maintplan_name>.*)/(?P<release_name>.*)/(?P<milestone_name>.*)/$',
|
|
MaintainerListView.as_view(
|
|
template_name='rrs/maintainers.html'),
|
|
name="rrs_maintainers"),
|
|
)
|