##// END OF EJS Templates
Refactoring of changeset_file_comments for more generic usage. In both It enables sharing code between changeset, and pull requests discussions
Refactoring of changeset_file_comments for more generic usage. In both It enables sharing code between changeset, and pull requests discussions

File last commit:

r2430:9f372811 merge codereview
r2439:ad19dfcd codereview
Show More
changelog_details.html
11 lines | 881 B | text/html | HtmlLexer
## small box that displays changed/added/removed details fetched by AJAX
% if len(c.cs.affected_files) <= c.affected_files_cut_off:
<span class="removed tooltip" title="<b>${h.tooltip(_('removed'))}</b>${h.changed_tooltip(c.cs.removed)}">${len(c.cs.removed)}</span>
<span class="changed tooltip" title="<b>${h.tooltip(_('changed'))}</b>${h.changed_tooltip(c.cs.changed)}">${len(c.cs.changed)}</span>
<span class="added tooltip" title="<b>${h.tooltip(_('added'))}</b>${h.changed_tooltip(c.cs.added)}">${len(c.cs.added)}</span>
% else:
<span class="removed tooltip" title="${h.tooltip(_('affected %s files') % len(c.cs.affected_files))}">!</span>
<span class="changed tooltip" title="${h.tooltip(_('affected %s files') % len(c.cs.affected_files))}">!</span>
<span class="added tooltip" title="${h.tooltip(_('affected %s files') % len(c.cs.affected_files))}">!</span>
% endif