# HG changeset patch # User Christian Oyarzun # Date 2015-05-06 23:48:15 # Node ID c69cb0647c8ac68b3572692645c2500f3fbc2bbb # Parent 572f62542047ded9f814af5db388dadec6425dc9 templates: remove mime type column from file browser (Issue #51) 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 @@ -59,7 +59,6 @@ ${_('Name')} ${_('Size')} - ${_('Mimetype')} ${_('Last Revision')} ${_('Last Modified')} ${_('Last Committer')} @@ -76,7 +75,6 @@ - %endif @@ -91,11 +89,6 @@ %endif - %if node.is_file(): - ${node.mimetype} - %endif - - %if node.is_file(): ${h.show_id(node.last_changeset)} %endif diff --git a/kallithea/tests/functional/test_files.py b/kallithea/tests/functional/test_files.py --- a/kallithea/tests/functional/test_files.py +++ b/kallithea/tests/functional/test_files.py @@ -63,7 +63,6 @@ class TestFilesController(TestController response.mustcontain('tests') response.mustcontain('README.rst') response.mustcontain('1.1 KiB') - response.mustcontain('text/x-python') def test_index_different_branch(self): self.log_user()