From a1f72ac87a18fe1fcc0cf1a2eb8d69d89ba606df Mon Sep 17 00:00:00 2001 From: bnewbold Date: Wed, 21 Feb 2007 01:21:23 -0800 Subject: put in temp fix for head and tag views TODO: filter diff and raw blob output correctly (wrap and escape) --- bn_django/git_browse/urls.py | 5 +++-- static/style/git_browse.css | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/bn_django/git_browse/urls.py b/bn_django/git_browse/urls.py index a0c31fe..4c88b99 100644 --- a/bn_django/git_browse/urls.py +++ b/bn_django/git_browse/urls.py @@ -35,8 +35,9 @@ urlpatterns += patterns('bn_django.git_browse.views', (r'^(?P[\w\-\_]*)/obj/(?P[0-9a-z]{40})/$', 'view_obj',), (r'^(?P[\w\-\_]*)/commit/(?P[0-9a-z]{40})/$', 'view_commit',), (r'^(?P[\w\-\_]*)/commit/$', 'view_commit',), - (r'^(?P[\w\-\_]*)/tag/(?P[\w\-\_]+)/$', 'view_tag',), - (r'^(?P[\w\-\_]*)/head/(?P[\w\-\_]+)/$', 'view_head',), + #TODO: head and tag views + (r'^(?P[\w\-\_]*)/tag/(?P[\w\-\_]+)/$', 'view_commit',), + (r'^(?P[\w\-\_]*)/head/(?P[\w\-\_]+)/$', 'view_commit',), (r'^(?P[\w\-\_]*)/blob/(?P[0-9a-z]{40})/$', 'view_blob',), (r'^(?P[\w\-\_]*)/tree/$', 'view_tree',), (r'^(?P[\w\-\_]*)/tree/(?P[0-9a-z]{40})/$', 'view_tree',), diff --git a/static/style/git_browse.css b/static/style/git_browse.css index 7fc04e8..2772a07 100644 --- a/static/style/git_browse.css +++ b/static/style/git_browse.css @@ -66,4 +66,4 @@ span.hash { a.head { color: green; } a.tag { - color: yellow; } + color: orange; } -- cgit v1.2.3