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 @@ -23,6 +23,7 @@ ${_('Name')} ${_('Size')} + ${_('Mimetype')} ${_('Revision')} ${_('Last modified')} ${_('Last commiter')} @@ -50,6 +51,11 @@ %endif + %if node.is_file(): + ${node.mimetype} + %endif + + %if node.is_file(): ${node.last_changeset.revision} %endif diff --git a/pylons_app/templates/files/files_source.html b/pylons_app/templates/files/files_source.html --- a/pylons_app/templates/files/files_source.html +++ b/pylons_app/templates/files/files_source.html @@ -6,6 +6,8 @@
${_('Size')}
${h.format_byte_size(c.files_list.size,binary=True)}
+
${_('Mimetype')}
+
${c.files_list.mimetype}
${_('Options')}
${h.link_to(_('show annotation'), h.url('files_annotate_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=c.f_path))}