%namespace name="base" file="/base/base.mako"/> % if c.formatted_results:
${_('Repository')} | ${_('Commit')} | ${_('Commit message')} | %if c.sort == 'newfirst': ${_('Age (new first)')} %else: ${_('Age (old first)')} %endif | ${_('Author')} | |
---|---|---|---|---|---|
<% 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._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)} |