<%def name="file_class(node)"> %if node.is_file(): <%return "browser-file" %> %else: <%return "browser-dir"%> %endif
${h.form(h.url.current())}
${_('view')}@rev « ${h.text('at_rev',value=c.rev_nr,size=3)} » ${h.submit('view','view')}
${h.end_form()}
% if c.files_list.parent: %endif %for cnt,node in enumerate(c.files_list,1): %endfor
${_('Name')} ${_('Size')} ${_('Mimetype')} ${_('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.path),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))} ${h.format_byte_size(node.size,binary=True)} %if node.is_file(): ${node.mimetype} %endif %if node.is_file(): ${node.last_changeset.revision} %endif %if node.is_file(): ${h.age(node.last_changeset._ctx.date())} - ${node.last_changeset.date} %endif %if node.is_file(): ${node.last_changeset.author} %endif