<%namespace name="base" file="/base/base.mako"/> %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 commit check'): % endif %endfor
${_('Repository')} ${_('Commit')} ${_('Commit message')} %if c.sort == 'newfirst': ${_('Age (new first)')} %else: ${_('Age (old first)')} %endif ${_('Author')}
%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.url('summary_home',repo_name=entry['repository']))} ${h.link_to(h._shorten_commit_id(entry['commit_id']), h.url('changeset_home',repo_name=entry['repository'],revision=entry['commit_id']))} %if entry.get('message_hl'): ${h.literal(entry['message_hl'])} %else: ${h.urlify_commit_message(entry['message'], entry['repository'])} %endif ${h.age_component(h.time_to_utcdatetime(entry['date']))} ${base.gravatar_with_user(entry['author'])}
%if c.cur_query and c.formatted_results:
${c.formatted_results.pager('$link_previous ~2~ $link_next')}
%endif