%namespace name="base" file="/base/base.mako"/> <%namespace name="search" file="/search/search.mako"/> % if c.formatted_results:
${_('Repository')} | ${_('Commit')} | ${_('Commit message')} | ${_('Commit date')} | ${_('Author')} | |
---|---|---|---|---|---|
<% repo_type = entry.get('repo_type') or h.get_repo_type_by_name(entry.get('repository')) %> ${search.repo_icon(repo_type)} ${h.link_to(entry['repository'], h.route_path('repo_summary',repo_name=entry['repository']))} | ${h.link_to(h._shorten_commit_id(entry['commit_id']), h.route_path('repo_commit',repo_name=entry['repository'],commit_id=entry['commit_id']))} | ${h.age_component(h.time_to_utcdatetime(entry['date']))} | <% ## es6 stores this as object author = entry['author'] if isinstance(author, dict): author = author['email'] %> ${base.gravatar_with_user(author, tooltip=True)} |