% if c.formatted_results:
${_('Repository')} | ${_('File')} | ${_('Size')} | ${_('Lines')} |
---|---|---|---|
<% repo_type = entry.get('repo_type') or h.get_repo_type_by_name(entry.get('repository')) %> %if repo_type == 'hg': %elif repo_type == 'git': %elif repo_type == 'svn': %endif ${h.link_to(entry['repository'], h.route_path('repo_summary',repo_name=entry['repository']))} | ${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 |