diff options
-rw-r--r-- | bn_django/git_browse/urls.py | 5 | ||||
-rw-r--r-- | 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<repo>[\w\-\_]*)/obj/(?P<hash>[0-9a-z]{40})/$', 'view_obj',), (r'^(?P<repo>[\w\-\_]*)/commit/(?P<hash>[0-9a-z]{40})/$', 'view_commit',), (r'^(?P<repo>[\w\-\_]*)/commit/$', 'view_commit',), - (r'^(?P<repo>[\w\-\_]*)/tag/(?P<name>[\w\-\_]+)/$', 'view_tag',), - (r'^(?P<repo>[\w\-\_]*)/head/(?P<name>[\w\-\_]+)/$', 'view_head',), + #TODO: head and tag views + (r'^(?P<repo>[\w\-\_]*)/tag/(?P<hash>[\w\-\_]+)/$', 'view_commit',), + (r'^(?P<repo>[\w\-\_]*)/head/(?P<hash>[\w\-\_]+)/$', 'view_commit',), (r'^(?P<repo>[\w\-\_]*)/blob/(?P<hash>[0-9a-z]{40})/$', 'view_blob',), (r'^(?P<repo>[\w\-\_]*)/tree/$', 'view_tree',), (r'^(?P<repo>[\w\-\_]*)/tree/(?P<hash>[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; } |