aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/git_browse
diff options
context:
space:
mode:
authorbryan newbold <bnewbold@.mit.edu>2008-03-27 00:11:32 -0400
committerbryan newbold <bnewbold@.mit.edu>2008-03-27 00:11:32 -0400
commitfd8fc52ffa580c7bd612adb895daf293b1bed5ef (patch)
tree94b59542ad658c095a8328046f5b5216d946ed30 /bn_django/git_browse
parent6e35169cabbe8ca5e361101ab4d8239272ef4c2a (diff)
downloadbnewnet-fd8fc52ffa580c7bd612adb895daf293b1bed5ef.tar.gz
bnewnet-fd8fc52ffa580c7bd612adb895daf293b1bed5ef.zip
last commit link was dead (503)
Diffstat (limited to 'bn_django/git_browse')
-rw-r--r--bn_django/git_browse/templates/git_browse/repository_info.html2
-rw-r--r--bn_django/git_browse/urls.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/bn_django/git_browse/templates/git_browse/repository_info.html b/bn_django/git_browse/templates/git_browse/repository_info.html
index 9be33ee..f529c84 100644
--- a/bn_django/git_browse/templates/git_browse/repository_info.html
+++ b/bn_django/git_browse/templates/git_browse/repository_info.html
@@ -2,7 +2,7 @@
{% block gitbrowse %}
{{ object.description }}
-<h3>Shortlog (<a href="/code/{{object.slug}}/log/">full log</a>) (<a href="/code/{{object.slug}}/commit/">last commit</a>)</h3>
+<h3>Shortlog (<a href="/code/{{object.slug}}/log/">full log</a>) (<a href="#"><strike>last commit</strike></a>)</h3>
{% include "git_browse/shortlog_table" %}
<h3>Heads (<a href="/code/{{object.slug}}/tree/">browse</a>)</h3>
{% include "git_browse/heads_table" %}
diff --git a/bn_django/git_browse/urls.py b/bn_django/git_browse/urls.py
index 141f533..b608027 100644
--- a/bn_django/git_browse/urls.py
+++ b/bn_django/git_browse/urls.py
@@ -34,7 +34,7 @@ urlpatterns += patterns('bn_django.git_browse.views',
(r'^(?P<repo>[\w\-\_]*)/log/$', 'view_log',),
(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\-\_]*)/commit/$', 'view_commit',),
(r'^(?P<repo>[\w\-\_]*)/commit/(?P<hash>[0-9a-z]{40})/zip/$', 'zip',),
#TODO: head and tag views
(r'^(?P<repo>[\w\-\_]*)/tag/(?P<hash>[\w\-\_]+)/$', 'view_commit',),