# HG changeset patch # User domruf # Date 2017-08-16 17:34:44 # Node ID 46bc7191e1e4e7307a355b37e2fa4194681c8c79 # Parent d39fcf27fa44772f9188c40dcf5f49a5b7cb7d6d files: use same parent/child navigation as on changeset page There are different reasons to do this. First, be consistent. Second, steping through the revisions by revision number is problematic. It means jumping between branches (I think even with the 'Follow current branch' checkbox this is not obvious to all the users). Also if we'd continue to use it, it'd require some special handling of hidden revisions. diff --git a/kallithea/templates/files/files_browser.html b/kallithea/templates/files/files_browser.html --- a/kallithea/templates/files/files_browser.html +++ b/kallithea/templates/files/files_browser.html @@ -1,3 +1,5 @@ +<%namespace name="base" file="/base/base.html"/> + <%def name="file_class(node)"> %if node.is_file(): <%return "browser-file" %> @@ -26,14 +28,7 @@
- - - ${_('Revision')} - - ${h.text('at_rev',value=c.changeset.revision,size=5,class_='form-control input-sm')} - - - + ${base.parent_child_navigation()}