diff --git a/rrs/urls.py b/rrs/urls.py index c474c7c..a1389b4 100644 --- a/rrs/urls.py +++ b/rrs/urls.py @@ -1,4 +1,20 @@ -from django.conf.urls import patterns, include, url +from django.views.generic import TemplateView +from django.views.generic.simple import redirect_to +from django.core.urlresolvers import reverse_lazy + +from django.conf.urls import patterns, url + +from layerindex.views import EditProfileFormView urlpatterns = patterns('', + url(r'^$', redirect_to, {'url' : reverse_lazy('about', args=())}, + name='frontpage'), + url(r'^profile/$', + EditProfileFormView.as_view( + template_name='layerindex/profile.html'), + name="profile"), + url(r'^about/$', + TemplateView.as_view( + template_name='rrs/about.html'), + name="about"), ) diff --git a/templates/base.html b/templates/base.html index c872383..63456d1 100644 --- a/templates/base.html +++ b/templates/base.html @@ -59,6 +59,7 @@
{% block topfunctions %} + {% if application == 'layerindex' %} @@ -76,6 +77,7 @@ {% endif %} + {% endif %} {% endblock %} @@ -96,11 +98,14 @@ {% block footer %}The Recipe Reporting System is the main tool for tracking the recipe versions +available for +Yocto Project. Its main +purpose is to help developers manage the recipes they maintain and to +offer a dynamic overview of the project. It is build on top the +of OpenEmbedded Metadata Index, +a website that indexes layers for the +OpenEmbedded build system.
+ +The Recipe Reporting System uses the following technologies and components:
+The Recipe Reporting System is maintained by the Yocto Project.
+Some of the contributors are:
+Special mention is due to Paul Eggleton, who is the author of the +OpenEmbedded Metadata Index, +on which the Recipe Reporting System is based.
+ +The code is Open Source and can be found on git.yoctoproject.org. Patches welcome!
+ +{% endautoescape %} +{% endblock %} + +{% block footer %} +{% endblock %}