diff options
-rw-r--r-- | releng/urls.py | 7 | ||||
-rw-r--r-- | templates/public/index.html | 4 |
2 files changed, 7 insertions, 4 deletions
diff --git a/releng/urls.py b/releng/urls.py index f76a9593..4a125dff 100644 --- a/releng/urls.py +++ b/releng/urls.py @@ -1,6 +1,6 @@ -from django.conf.urls.defaults import patterns +from django.conf.urls.defaults import include, patterns -urlpatterns = patterns('releng.views', +feedback_patterns = patterns('releng.views', (r'^$', 'test_results_overview', {}, 'releng-test-overview'), (r'^submit/$', 'submit_test_result', {}, 'releng-test-submit'), (r'^thanks/$', 'submit_test_thanks', {}, 'releng-test-thanks'), @@ -8,4 +8,7 @@ urlpatterns = patterns('releng.views', (r'^(?P<option>.+)/(?P<value>\d+)/$','test_results_for', {}, 'releng-results-for'), ) +urlpatterns = patterns('', + (r'^feedback/', include(feedback_patterns)), +) # vim: set ts=4 sw=4 et: diff --git a/templates/public/index.html b/templates/public/index.html index 5b79a1fe..add921d1 100644 --- a/templates/public/index.html +++ b/templates/public/index.html @@ -119,8 +119,6 @@ title="Arch communities in your native language">International Communities</a></li> <li><a href="https://wiki.archlinux.org/index.php/Related_Projects" title="Projects that are in some way related to Arch Linux">Related Projects</a></li> - <li><a href="{% url releng-test-overview %}" - title="Releng Testbuild Feedback">Releng Testbuild Feedback</a></li> </ul> <h4>Support</h4> @@ -163,6 +161,8 @@ title="Developer Wiki articles">DeveloperWiki</a></li> <li><a href="/todolists/" title="Developer Todo Lists">Todo Lists</a></li> + <li><a href="{% url releng-test-overview %}" + title="Releng Testbuild Feedback">Releng Testbuild Feedback</a></li> </ul> <h4>About</h4> |