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 @@ -16,7 +16,7 @@ ${_('%s Changelog') % c.repo_name} - ${c <%def name="page_nav()"> - ${self.menu('changelog')} + ${self.menu('changelog')} <%def name="main()"> @@ -26,12 +26,12 @@ ${_('%s Changelog') % c.repo_name} - ${c ${self.breadcrumbs()}
- % if c.pagination: -
-
- -
-
+ % if c.pagination: +
+
+ +
+
@@ -43,38 +43,38 @@ ${_('%s Changelog') % c.repo_name} - ${c ${_('open new pull request')} %endif
-
- ${h.form(h.url.current(),method='get')} -
- ${h.submit('set',_('Show'),class_="ui-btn")} - ${h.text('size',size=1,value=c.size)} - ${_('revisions')} -
- ${h.end_form()} +
+ ${h.form(h.url.current(),method='get')} +
+ ${h.submit('set',_('Show'),class_="ui-btn")} + ${h.text('size',size=1,value=c.size)} + ${_('revisions')} +
+ ${h.end_form()}
${h.select('branch_filter',c.branch_name,c.branch_filters)}
-
+
- %for cnt,cs in enumerate(c.pagination): -
-
-
- ${h.checkbox(cs.raw_id,class_="changeset_range")} - ${cs.revision}:${h.short_id(cs.raw_id)} -
-
-
- gravatar -
-
${h.shorter(h.person(cs.author),22)}
-
+ %for cnt,cs in enumerate(c.pagination): +
+
+
+ ${h.checkbox(cs.raw_id,class_="changeset_range")} + ${cs.revision}:${h.short_id(cs.raw_id)} +
+
+
+ gravatar +
+
${h.shorter(h.person(cs.author),22)}
+
${h.fmt_date(cs.date)}
-
-
+
+
${h.urlify_commit(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(c.comments.get(cs.raw_id,[])) > 0: @@ -98,27 +98,27 @@ ${_('%s Changelog') % c.repo_name} - ${c
%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)} -
- %endfor - %else: +
+ %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)} +
+ %endfor + %else:
${_('No parents')}
%endif - - %if len(cs.parents)>1: - ${_('merge')} - %endif - %if cs.branch: - - ${h.link_to(h.shorter(cs.branch),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))} + + %if len(cs.parents)>1: + ${_('merge')} + %endif + %if cs.branch: + + ${h.link_to(h.shorter(cs.branch),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))} - %endif + %endif %if h.is_hg(c.rhodecode_repo): %for book in cs.bookmarks: @@ -126,24 +126,24 @@ ${_('%s Changelog') % c.repo_name} - ${c %endfor %endif - %for tag in cs.tags: - - ${h.link_to(h.shorter(tag),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))} - %endfor - -
-
+ %for tag in cs.tags: + + ${h.link_to(h.shorter(tag),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))} + %endfor + +
+
- %endfor -
- ${c.pagination.pager('$link_previous ~2~ $link_next')} -
-
-
+ %endfor +
+ ${c.pagination.pager('$link_previous ~2~ $link_next')} +
+
+
- - + - %else: - ${_('There are no changes yet')} - %endif + }); + + %else: + ${_('There are no changes yet')} + %endif