diff --git a/rhodecode/templates/changelog/changelog.html b/rhodecode/templates/changelog/changelog.html --- a/rhodecode/templates/changelog/changelog.html +++ b/rhodecode/templates/changelog/changelog.html @@ -11,11 +11,11 @@ ${c.repo_name} ${_('Changelog')} - ${c.r » ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))} » - ${_('Changelog')} - ${_('showing ')} ${c.size if c.size <= c.total_cs else c.total_cs} ${_('out of')} ${c.total_cs} ${_('revisions')} + ${_('Changelog')} - ${_('showing ')} ${c.size if c.size <= c.total_cs else c.total_cs} ${_('out of')} ${c.total_cs} ${_('revisions')} <%def name="page_nav()"> - ${self.menu('changelog')} + ${self.menu('changelog')} <%def name="main()"> @@ -33,52 +33,65 @@ ${c.repo_name} ${_('Changelog')} - ${c.r
${h.form(h.url.current(),method='get')} -
- ${h.submit('set',_('Show'),class_="ui-button-small")} +
+ ${h.submit('set',_('Show'),class_="ui-btn")} ${h.text('size',size=1,value=c.size)} - ${_('revisions')} + ${_('revisions')}
${h.end_form()} +
${h.select('branch_filter',c.branch_name,c.branch_filters)}
- + %for cnt,cs in enumerate(c.pagination): -
+
-
+
${h.checkbox(cs.short_id,class_="changeset_range")} - ${_('commit')} ${cs.revision}: ${h.short_id(cs.raw_id)}@${cs.date} + ${cs.revision}:${h.short_id(cs.raw_id)}
gravatar
-
${h.person(cs.author)}
- ##${h.email_or_none(cs.author)}
+
${h.person(cs.author)}
-
${h.link_to(h.wrap_paragraphs(cs.message),h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
-
+
${cs.date}
+
+
+
${h.urlify_commit(h.wrap_paragraphs(cs.message),c.repo_name,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
+
↓ ${_('show more')} ↓
+
- ${len(cs.affected_files)} -
- %if len(cs.parents)>1: -
- ${_('merge')}merge -
- %endif - %if cs.parents: +
${len(cs.affected_files)}
+
+ %if len(c.comments.get(cs.raw_id,[])) > 0: + + %endif +
+
+ %if cs.parents: %for p_cs in reversed(cs.parents): -
${_('Parent')} ${p_cs.revision}: ${h.link_to(h.short_id(p_cs.raw_id), - h.url('changeset_home',repo_name=c.repo_name,revision=p_cs.raw_id),title=p_cs.message)} +
${_('Parent')} + ${p_cs.revision}:${h.link_to(h.short_id(p_cs.raw_id), + h.url('changeset_home',repo_name=c.repo_name,revision=p_cs.raw_id),title=p_cs.message)}
%endfor - %else: -
${_('No parents')}
- %endif - + %else: +
${_('No parents')}
+ %endif + - %if cs.branch: + %if len(cs.parents)>1: + ${_('merge')} + %endif + %if h.is_hg(c.rhodecode_repo) and cs.branch: ${h.link_to(cs.branch,h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))} %endif @@ -86,26 +99,26 @@ ${c.repo_name} ${_('Changelog')} - ${c.r ${h.link_to(tag,h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))} %endfor - -
+ +
- + %endfor
${c.pagination.pager('$link_previous ~2~ $link_next')} -
+
- + %else: ${_('There are no changes yet')} - %endif + %endif - - \ No newline at end of file + +