diff --git a/kallithea/templates/bookmarks/bookmarks_data.html b/kallithea/templates/bookmarks/bookmarks_data.html
--- a/kallithea/templates/bookmarks/bookmarks_data.html
+++ b/kallithea/templates/bookmarks/bookmarks_data.html
@@ -19,7 +19,7 @@
${h.link_to(book[0],
- h.url('files_home',repo_name=c.repo_name,revision=book[1].raw_id))}
+ h.url('changeset_home',repo_name=c.repo_name,revision=book[1].raw_id))}
|
${book[1]._timestamp} |
@@ -28,7 +28,7 @@
${book[1].revision} |
|
diff --git a/kallithea/templates/branches/branches_data.html b/kallithea/templates/branches/branches_data.html
--- a/kallithea/templates/branches/branches_data.html
+++ b/kallithea/templates/branches/branches_data.html
@@ -19,7 +19,7 @@
|
${h.link_to(branch[0],
- h.url('files_home',repo_name=c.repo_name,revision=branch[1].raw_id))}
+ h.url('changeset_home',repo_name=c.repo_name,revision=branch[1].raw_id))}
|
${branch[1]._timestamp} |
@@ -28,7 +28,7 @@
${branch[1].revision} |
|
@@ -54,7 +54,7 @@
| ${branch[1].revision} |
|
|
diff --git a/kallithea/templates/changelog/changelog.html b/kallithea/templates/changelog/changelog.html
--- a/kallithea/templates/changelog/changelog.html
+++ b/kallithea/templates/changelog/changelog.html
@@ -122,13 +122,13 @@ ${self.repo_context_bar('changelog')}
%if h.is_hg(c.db_repo_scm_instance):
%for book in cs.bookmarks:
- ${h.link_to(h.shorter(book),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
+ ${h.link_to(h.shorter(book),h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
%endfor
%endif
%for tag in cs.tags:
- ${h.link_to(h.shorter(tag),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
+ ${h.link_to(h.shorter(tag),h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
%endfor
%if (not c.branch_name) and cs.branch:
diff --git a/kallithea/templates/changelog/changelog_summary_data.html b/kallithea/templates/changelog/changelog_summary_data.html
--- a/kallithea/templates/changelog/changelog_summary_data.html
+++ b/kallithea/templates/changelog/changelog_summary_data.html
@@ -34,7 +34,7 @@
%endif
- ${h.show_id(cs)}
+ ${h.show_id(cs)}
@@ -48,13 +48,13 @@
%if h.is_hg(c.db_repo_scm_instance):
%for book in cs.bookmarks:
- ${h.link_to(h.shorter(book),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
+ ${h.link_to(h.shorter(book),h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
%endfor
%endif
%for tag in cs.tags:
- ${h.link_to(h.shorter(tag),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
+ ${h.link_to(h.shorter(tag),h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
%endfor
%if cs.branch:
diff --git a/kallithea/templates/changeset/changeset.html b/kallithea/templates/changeset/changeset.html
--- a/kallithea/templates/changeset/changeset.html
+++ b/kallithea/templates/changeset/changeset.html
@@ -91,19 +91,19 @@ ${self.repo_context_bar('changelog')}
%if h.is_hg(c.db_repo_scm_instance):
%for book in c.changeset.bookmarks:
- ${h.link_to(h.shorter(book),h.url('files_home',repo_name=c.repo_name,revision=c.changeset.raw_id))}
+ ${h.link_to(h.shorter(book),h.url('changeset_home',repo_name=c.repo_name,revision=c.changeset.raw_id))}
%endfor
%endif
%for tag in c.changeset.tags:
- ${h.link_to(tag,h.url('files_home',repo_name=c.repo_name,revision=c.changeset.raw_id))}
+ ${h.link_to(tag,h.url('changeset_home',repo_name=c.repo_name,revision=c.changeset.raw_id))}
%endfor
%if c.changeset.branch:
- ${h.link_to(c.changeset.branch,h.url('files_home',repo_name=c.repo_name,revision=c.changeset.raw_id))}
+ ${h.link_to(c.changeset.branch,h.url('changeset_home',repo_name=c.repo_name,revision=c.changeset.raw_id))}
%endif
diff --git a/kallithea/templates/changeset/changeset_range.html b/kallithea/templates/changeset/changeset_range.html
--- a/kallithea/templates/changeset/changeset_range.html
+++ b/kallithea/templates/changeset/changeset_range.html
@@ -91,17 +91,17 @@ ${self.repo_context_bar('changelog')}
%if h.is_hg(c.db_repo_scm_instance):
%for book in cs.bookmarks:
- ${h.link_to(h.shorter(book),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
+ ${h.link_to(h.shorter(book),h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
%endfor
%endif
%for tag in cs.tags:
- ${h.link_to(h.shorter(tag),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
+ ${h.link_to(h.shorter(tag),h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
%endfor
%if cs.branch:
- ${h.link_to(h.shorter(cs.branch),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
+ ${h.link_to(h.shorter(cs.branch),h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
%endif
diff --git a/kallithea/templates/tags/tags_data.html b/kallithea/templates/tags/tags_data.html
--- a/kallithea/templates/tags/tags_data.html
+++ b/kallithea/templates/tags/tags_data.html
@@ -19,7 +19,7 @@
|
${h.link_to(tag[0],
- h.url('files_home',repo_name=c.repo_name,revision=tag[1].raw_id))}
+ h.url('changeset_home',repo_name=c.repo_name,revision=tag[1].raw_id))}
|
@@ -29,7 +29,7 @@
${tag[1].revision} |
|
diff --git a/kallithea/tests/functional/test_branches.py b/kallithea/tests/functional/test_branches.py
--- a/kallithea/tests/functional/test_branches.py
+++ b/kallithea/tests/functional/test_branches.py
@@ -7,7 +7,7 @@ class TestBranchesController(TestControl
self.log_user()
response = self.app.get(url(controller='branches',
action='index', repo_name=HG_REPO))
- response.mustcontain("""default""" % HG_REPO)
+ response.mustcontain("""default""" % HG_REPO)
# closed branches
response.mustcontain("""git [closed]<""" % HG_REPO)
@@ -17,4 +17,4 @@ class TestBranchesController(TestControl
self.log_user()
response = self.app.get(url(controller='branches',
action='index', repo_name=GIT_REPO))
- response.mustcontain("""master""" % GIT_REPO)
+ response.mustcontain("""master""" % GIT_REPO)
diff --git a/kallithea/tests/functional/test_tags.py b/kallithea/tests/functional/test_tags.py
--- a/kallithea/tests/functional/test_tags.py
+++ b/kallithea/tests/functional/test_tags.py
@@ -6,35 +6,35 @@ class TestTagsController(TestController)
def test_index_hg(self):
self.log_user()
response = self.app.get(url(controller='tags', action='index', repo_name=HG_REPO))
- response.mustcontain("""tip""" % HG_REPO)
- response.mustcontain("""v0.2.0""" % HG_REPO)
- response.mustcontain("""v0.1.11""" % HG_REPO)
- response.mustcontain("""v0.1.10""" % HG_REPO)
- response.mustcontain("""v0.1.9""" % HG_REPO)
- response.mustcontain("""v0.1.8""" % HG_REPO)
- response.mustcontain("""v0.1.7""" % HG_REPO)
- response.mustcontain("""v0.1.6""" % HG_REPO)
- response.mustcontain("""v0.1.5""" % HG_REPO)
- response.mustcontain("""v0.1.4""" % HG_REPO)
- response.mustcontain("""v0.1.3""" % HG_REPO)
- response.mustcontain("""v0.1.2""" % HG_REPO)
- response.mustcontain("""v0.1.1""" % HG_REPO)
+ response.mustcontain("""tip""" % HG_REPO)
+ response.mustcontain("""v0.2.0""" % HG_REPO)
+ response.mustcontain("""v0.1.11""" % HG_REPO)
+ response.mustcontain("""v0.1.10""" % HG_REPO)
+ response.mustcontain("""v0.1.9""" % HG_REPO)
+ response.mustcontain("""v0.1.8""" % HG_REPO)
+ response.mustcontain("""v0.1.7""" % HG_REPO)
+ response.mustcontain("""v0.1.6""" % HG_REPO)
+ response.mustcontain("""v0.1.5""" % HG_REPO)
+ response.mustcontain("""v0.1.4""" % HG_REPO)
+ response.mustcontain("""v0.1.3""" % HG_REPO)
+ response.mustcontain("""v0.1.2""" % HG_REPO)
+ response.mustcontain("""v0.1.1""" % HG_REPO)
def test_index_git(self):
self.log_user()
response = self.app.get(url(controller='tags', action='index', repo_name=GIT_REPO))
- response.mustcontain("""v0.2.2""" % GIT_REPO)
- response.mustcontain("""v0.2.1""" % GIT_REPO)
- response.mustcontain("""v0.2.0""" % GIT_REPO)
- response.mustcontain("""v0.1.11""" % GIT_REPO)
- response.mustcontain("""v0.1.10""" % GIT_REPO)
- response.mustcontain("""v0.1.9""" % GIT_REPO)
- response.mustcontain("""v0.1.8""" % GIT_REPO)
- response.mustcontain("""v0.1.7""" % GIT_REPO)
- response.mustcontain("""v0.1.6""" % GIT_REPO)
- response.mustcontain("""v0.1.5""" % GIT_REPO)
- response.mustcontain("""v0.1.4""" % GIT_REPO)
- response.mustcontain("""v0.1.3""" % GIT_REPO)
- response.mustcontain("""v0.1.2""" % GIT_REPO)
- response.mustcontain("""v0.1.1""" % GIT_REPO)
+ response.mustcontain("""v0.2.2""" % GIT_REPO)
+ response.mustcontain("""v0.2.1""" % GIT_REPO)
+ response.mustcontain("""v0.2.0""" % GIT_REPO)
+ response.mustcontain("""v0.1.11""" % GIT_REPO)
+ response.mustcontain("""v0.1.10""" % GIT_REPO)
+ response.mustcontain("""v0.1.9""" % GIT_REPO)
+ response.mustcontain("""v0.1.8""" % GIT_REPO)
+ response.mustcontain("""v0.1.7""" % GIT_REPO)
+ response.mustcontain("""v0.1.6""" % GIT_REPO)
+ response.mustcontain("""v0.1.5""" % GIT_REPO)
+ response.mustcontain("""v0.1.4""" % GIT_REPO)
+ response.mustcontain("""v0.1.3""" % GIT_REPO)
+ response.mustcontain("""v0.1.2""" % GIT_REPO)
+ response.mustcontain("""v0.1.1""" % GIT_REPO)
|