diff --git a/pylons_app/templates/files/files_browser.html b/pylons_app/templates/files/files_browser.html --- a/pylons_app/templates/files/files_browser.html +++ b/pylons_app/templates/files/files_browser.html @@ -5,53 +5,62 @@ <%return "browser-dir"%> %endif - - - - - - - - - - - - - % if c.files_list.parent: - - - - - - %endif - - %for cnt,node in enumerate(c.files_list): - - - - - - - - %endfor -
${_('Name')}${_('Size')}${_('Revision')}${_('Last modified')}${_('Last commiter')}
- ${h.link_to('..',h.url('files_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=c.files_list.parent),class_="browser-dir")} -
- ${h.link_to(node.name,h.url('files_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=node.path),class_=file_class(node))} - - %if node.is_file(): - ${h.filesizeformat(node.size)} - %endif - - %if node.is_file(): - ${node.last_changeset.revision} - %endif - - %if node.is_file(): - ${node.last_changeset.date} - %endif - - %if node.is_file(): - ${node.last_changeset.author} - %endif -
\ No newline at end of file +
+
+ ${h.form(h.url.current())} + ${_('view')}@rev:${h.text('at_rev',value=c.rev_nr,size='5')} + ${h.submit('view','view')} + ${h.end_form()} +
+
+ + + + + + + + + + + + + + + + + + %for cnt,node in enumerate(c.files_list,1): + + + + + + + + %endfor +
${_('Name')}${_('Size')}${_('Revision')}${_('Last modified')}${_('Last commiter')}
+ % if c.files_list.parent: + ${h.link_to('..',h.url('files_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=c.files_list.parent.path),class_="browser-dir")} + %endif +
+ ${h.link_to(node.name,h.url('files_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=node.path),class_=file_class(node))} + + %if node.is_file(): + ${h.filesizeformat(node.size)} + %endif + + %if node.is_file(): + ${node.last_changeset.revision} + %endif + + %if node.is_file(): + ${node.last_changeset.date} + %endif + + %if node.is_file(): + ${node.last_changeset.author} + %endif +
+
+
\ No newline at end of file