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 %def> - -
| ${_('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")} - | -- | - | - | - %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 - | -
| ${_('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 + | +