##// END OF EJS Templates
models: update db.py with major changes for python3
models: update db.py with major changes for python3

File last commit:

r5037:bd722d6e default
r5071:d5c2bc34 default
Show More
atom_feed_entry.mako
37 lines | 975 B | application/x-mako | MakoHtmlLexer
${_('%(user)s committed on %(date)s UTC') % {
'user': h.person(commit.author),
'date': h.format_date(commit.date)
}}
<br/>
% if commit.branch:
branch: ${commit.branch} <br/>
% endif
% for bookmark in getattr(commit, 'bookmarks', []):
bookmark: ${bookmark} <br/>
% endfor
% for tag in commit.tags:
tag: ${tag} <br/>
% endfor
% if has_hidden_changes:
Has hidden changes<br/>
% endif
commit: <a href="${h.route_url('repo_commit', repo_name=c.rhodecode_db_repo.repo_name, commit_id=commit.raw_id)}">${h.show_id(commit)}</a>
<pre>
${h.urlify_commit_message(commit.message)}
% for change in parsed_diff:
% if limited_diff:
${_('Commit was too big and was cut off...')}
% endif
${change['operation']} ${change['filename']} ${'(%(added)s lines added, %(removed)s lines removed)' % {'added': change['stats']['added'], 'removed': change['stats']['deleted']}}
% endfor
% if feed_include_diff:
${c.path_filter.get_raw_patch(diff_processor)}
% endif
</pre>