%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')} | |
---|---|---|---|---|---|
%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._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)} |