diff options
author | bnewbold <bnewbold@manus.(none)> | 2007-02-21 01:21:23 -0800 |
---|---|---|
committer | bnewbold <bnewbold@manus.(none)> | 2007-02-21 01:21:23 -0800 |
commit | a1f72ac87a18fe1fcc0cf1a2eb8d69d89ba606df (patch) | |
tree | 7c8abb1f7222777fb55030a2c3b8c075732f1375 | |
parent | 34ce40fdb73eda0ae07ef62ddc713a4651b9bc7c (diff) | |
download | bnewnet-a1f72ac87a18fe1fcc0cf1a2eb8d69d89ba606df.tar.gz bnewnet-a1f72ac87a18fe1fcc0cf1a2eb8d69d89ba606df.zip |
put in temp fix for head and tag views
TODO: filter diff and raw blob output correctly (wrap and escape)
-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; } |