##TODO: add 'Last Change' and 'Author' here %for entry in c.formatted_results: ## search results are additionally filtered, and this check is just a safe gate % if h.HasRepoPermissionAny('repository.write','repository.read','repository.admin')(entry['repository'], 'search results path check'): % endif %endfor
${_('Repository')} ${_('File')}
%if h.get_repo_type_by_name(entry.get('repository')) == 'hg': %elif h.get_repo_type_by_name(entry.get('repository')) == 'git': %elif h.get_repo_type_by_name(entry.get('repository')) == '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 c.cur_query and c.formatted_results:
${c.formatted_results.pager('$link_previous ~2~ $link_next')}
%endif