Mercurial > kallithea
changeset 5113:c69cb0647c8a
templates: remove mime type column from file browser (Issue #51)
author | Christian Oyarzun <oyarzun@gmail.com> |
---|---|
date | Wed, 06 May 2015 17:48:15 -0400 |
parents | 572f62542047 |
children | 76abae776a3e |
files | kallithea/templates/files/files_browser.html kallithea/tests/functional/test_files.py |
diffstat | 2 files changed, 0 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/templates/files/files_browser.html Sat May 09 21:31:48 2015 +0000 +++ b/kallithea/templates/files/files_browser.html Wed May 06 17:48:15 2015 -0400 @@ -59,7 +59,6 @@ <tr> <th>${_('Name')}</th> <th>${_('Size')}</th> - <th>${_('Mimetype')}</th> <th>${_('Last Revision')}</th> <th>${_('Last Modified')}</th> <th>${_('Last Committer')}</th> @@ -76,7 +75,6 @@ <td></td> <td></td> <td></td> - <td></td> </tr> %endif @@ -91,11 +89,6 @@ %endif </td> <td> - %if node.is_file(): - ${node.mimetype} - %endif - </td> - <td> %if node.is_file(): <a title="${h.tooltip(node.last_changeset.message)}" href="${h.url('changeset_home',repo_name=c.repo_name,revision=node.last_changeset)}" class="tooltip revision-link">${h.show_id(node.last_changeset)}</a> %endif
--- a/kallithea/tests/functional/test_files.py Sat May 09 21:31:48 2015 +0000 +++ b/kallithea/tests/functional/test_files.py Wed May 06 17:48:15 2015 -0400 @@ -63,7 +63,6 @@ response.mustcontain('<a class="browser-dir ypjax-link" href="/vcs_test_hg/files/7ba66bec8d6dbba14a2155be32408c435c5f4492/tests"><i class="icon-folder-open"></i><span>tests</span></a>') response.mustcontain('<a class="browser-file ypjax-link" href="/vcs_test_hg/files/7ba66bec8d6dbba14a2155be32408c435c5f4492/README.rst"><i class="icon-doc"></i><span>README.rst</span></a>') response.mustcontain('1.1 KiB') - response.mustcontain('text/x-python') def test_index_different_branch(self): self.log_user()