diff --git a/rhodecode/templates/search/search_path.mako b/rhodecode/templates/search/search_path.mako
--- a/rhodecode/templates/search/search_path.mako
+++ b/rhodecode/templates/search/search_path.mako
@@ -4,7 +4,8 @@
${_('Repository')} |
${_('File')} |
- ##TODO: add 'Last Change' and 'Author' here
+ ${_('Size')} |
+ ${_('Lines')} |
%for entry in c.formatted_results:
## search results are additionally filtered, and this check is just a safe gate
@@ -24,6 +25,16 @@
${h.link_to(h.literal(entry['f_path']),
h.route_path('repo_files',repo_name=entry['repository'],commit_id='tip',f_path=entry['f_path']))}
+
+ %if entry.get('size'):
+ ${h.format_byte_size_binary(entry['size'])}
+ %endif
+ |
+
+ %if entry.get('lines'):
+ ${entry.get('lines', 0.)} ${_ungettext('line', 'lines', entry.get('lines', 0.))}
+ %endif
+ |
% endif
%endfor